MySQL – ERROR 1133 (42000): Can’t find any matching row in the user table


Problem: ERROR 1133 (42000): Can’t find any matching row in the user table while granting privileges in MySQL

Solution: Use FLUSH PRIVILEGES;  Command at mysql prompt and execute the grant statement again

Done!!!

Advertisements

Installation and Overview of openSUSE 12.2


Installation and Overview of openSUSE 12.2

openSUSE is an operating system built on top of the Linux kernel 3.4.

Developed by the community-supported openSUSE Project and sponsored by SUSE. Novell acquired SUSE Linux in January 2004 and decided to release the SUSE Linux Professional product as a 100% open source project.

Initial Release: Beta version of SUSE Linux 10.0

Latest Stable Version: openSUSE 12.2

System Requirements

  • openSUSE 12.2 supports 32-bit i586 and 64-bit x86-64 PC hardware.
  • CPU: Intel PIII 500 MHz or higher, P4 2.4 GHZ / AMD64 / Intel64 CPU.
  • RAM: 1 GB
  • Disk: 3 GB for minimal system; 5 GB for standard system

New Features

  • Privilege separation and sandboxing by OpenSSH 6.0
  • DNSSEC support by Bind 9.9
  • TLS version 1.1 and 1.2 support
Download Free EBooks and Whitepapers on Big DATA
Cloud Computing – Download Free EBooks and Whitepapers
Java – Download Free EBooks and Whitepapers
Windows – Download Free EBooks and Whitepapers

Website

http://www.opensuse.org/en/

opensuse.org Website
opensuse.org Website

How to Download?

http://software.opensuse.org/122/en

Download OpenSUSE 12.2
Download OpenSUSE 12.2

Now… Insert bootable DVD, Change the Boot order if needed from the BIOS settings…

openSUSE Screen
openSUSE Screen
openSUSE Installation Program - Starting udev
openSUSE Installation Program – Starting udev

Select Language, Keyboard Layout and Accept License Agreement!!

openSUSE Installation Preparation - Welcome
openSUSE Installation Preparation – Welcome
openSUSE Installation - System Analysis
openSUSE Installation – System Analysis

Select Installation Mode

openSUSE Installation - Installation Mode
openSUSE Installation – Installation Mode

Select Clock and Timezone as per preferences…

openSUSE Installation - Time Zone
openSUSE Installation – Time Zone

Select a Desktop, We select KDE Desktop

openSUSE Installation - Desktop Selection
openSUSE Installation – Desktop Selection

Suggest Partitioning, you can create, import or edit Partition setup as desired.

openSUSE Installation - Disk
openSUSE Installation – Disk

Create New User

openSUSE Installation - User Setting
openSUSE Installation – User Setting

YaST2- Retrieving cracklib-dict-full.rpm

openSUSE Installation - User Setting - YaST2
openSUSE Installation – User Setting – YaST2

Installation Settings

openSUSE Installation - Overview
openSUSE Installation – Overview

YaST2 – Confirm Installation

openSUSE Installation - Confirm Installation
openSUSE Installation – Confirm Installation

Now…Automatic Configuration

openSUSE Installation - Automatic Configuration
openSUSE Installation – Automatic Configuration

Get

openSUSE Desktop in Seconds 1
openSUSE Desktop in Seconds 1

Set

openSUSE Desktop in Seconds 2
openSUSE Desktop in Seconds 2

Go

openSUSE Desktop
openSUSE Desktop

My Computer in openSUSE

openSUSE - My Computer
openSUSE – My Computer

Done!!!

How to remove Empty Packages from Package Explorer in Eclipse


remove Empty Packages from Package Explorer in Eclipse

Open Eclipse -> Go to Package Explorer View

Empty Packages in Project Explorer in Eclipse
Empty Packages in Project Explorer in Eclipse
Cloud Computing – Download Free EBooks and Whitepapers
Java – Download Free EBooks and Whitepapers
Windows – Download Free EBooks and Whitepapers

Select Filters

Filters for Packages in Eclipse
Filters for Packages in Eclipse

Java Element Filters in Eclipse…

Select the Empty Packages Element to From the View
Select the Empty Packages Element to From the View

Done!!!

Install PHP 5.3.3 on CentOS 6.3


 

1) Install CentOS 6.3 -> How to install CentOS 6.3 ;

2) Create a Local Yum Repository in CentOS 6.3 -> Create a Local Yum Repository in CentOS 6.3 in 5 steps

3) Run yum install php and php5  will be installed!!! Done!!!

 

[root@localhost ~]# yum install php

Loaded plugins: fastestmirror, refresh-packagekit, security

Loading mirror speeds from cached hostfile

Cloud Computing – Download Free EBooks and Whitepapers
Java – Download Free EBooks and Whitepapers
Windows – Download Free EBooks and Whitepapers

base
| 1.3 kB 00:00

Setting up Install Process

Resolving Dependencies

–> Running transaction check

—> Package php.i686 0:5.3.3-3.el6_2.8 will be installed

–> Processing Dependency: php-common = 5.3.3-3.el6_2.8 for package: php-5.3.3-3.el6_2.8.i686

–> Processing Dependency: php-cli = 5.3.3-3.el6_2.8 for package: php-5.3.3-3.el6_2.8.i686

–> Running transaction check

—> Package php-cli.i686 0:5.3.3-3.el6_2.8 will be installed

—> Package php-common.i686 0:5.3.3-3.el6_2.8 will be installed

–> Finished


Dependency Resolution

Dependencies Resolved

==========================================================================================

PackageArchVersionRepositorySize

=========================================================================================

Installing:

phpi6865.3.3-3.el6_2.8base1.1 M

Installing for dependencies:

phpclii6865.3.3-3.el6_2.8base2.2 M

php-common i6865.3.3-3.el6_2.8 base523 k

Transaction Summary

============================================================================================

Install3 Package(s)

 

Total download size: 3.8 M

Installed size: 12 M

Is this ok [y/N]: y

Downloading Packages:

(1/3): php-5.3.3-3.el6_2.8.i686.rpm | 1.1 MB00:00

(2/3): php-cli-5.3.3-3.el6_2.8.i686.rpm | 2.2 MB00:00

(3/3): php-common-5.3.3-3.el6_2.8.i686.rpm| 523 kB 00:00

——————————————————————————————-

Total8.2 MB/s | 3.8 MB00:00

Running rpm_check_debug

Running Transaction Test

Transaction Test Succeeded

Running Transaction

Installing :

php-common-5.3.3-3.el6_2.8.i6861/3

Installing :
php-cli-5.3.3-3.el6_2.8.i686
2/3

Installing :

php-5.3.3-3.el6_2.8.i686
3/3

Verifying: php-common-5.3.3-3.el6_2.8.i686
1/3

Verifying: php-5.3.3-3.el6_2.8.i6862/3

Verifying: php-cli-5.3.3-3.el6_2.8.i686
3/3

Installed:

php.i686 0:5.3.3-3.el6_2.8

Dependency Installed:

php-cli.i686 0:5.3.3-3.el6_2.8
php-common.i686 0:5.3.3-3.el6_2.8

Complete!

[root@localhost ~]#

 

[root@localhost ~]# yuminfo php

 

Loaded plugins: fastestmirror, refresh-packagekit, security

Loading mirror speeds from cached hostfile

Installed Packages

Name: php

Arch: i686

Version: 5.3.3

Release: 3.el6_2.8

Size: 3.3 M

Repo: installed

From repo: base

Summary: PHP scripting language for creating dynamic web sites

URL: http://www.php.net/

License: PHP

Description : PHP is an HTML-embedded scripting language. PHP attempts to make it : easy for
developers to write dynamically generated webpages. PHP also : offers built-in database integration for several commercial and : non-commercial database management systems, so writing a : database-enabled webpage with PHP is fairly simple. The most common : use of PHP coding is probably as a replacement for CGI scripts.: The php package contains the module which adds support for the PHP : language to Apache HTTP Server.

Done!!!

 

Install Tomcat 6 in CentOS 6.3


1) Install CentOS 6.3 -> How to install CentOS 6.3 ;

2) Create a Local Yum Repository in CentOS 6.3 -> Create a Local Yum Repository in CentOS 6.3 in 5 steps

3) Run yum install tomcat6 and Tomcat will be installed!!! Done!!!

Cloud Computing – Download Free EBooks and Whitepapers
Java – Download Free EBooks and Whitepapers
Windows – Download Free EBooks and Whitepapers

[root@localhost ~]# yum install tomcat6

Loaded plugins: fastestmirror, refresh-packagekit, security

Loading mirror speeds
from cached hostfile

Setting up Install Process

Resolving Dependencies

–> Running transaction check

—> Package
tomcat6.noarch 0:6.0.24-45.el6 will be installed

base/filelists
| 4.4 MB00:01

–> Processing Dependency: tomcat6-lib = 6.0.24-45.el6 for package:tomcat6-6.0.24-45.el6.noarch

–> Processing Dependency: mx4j for package: tomcat6-6.0.24-45.el6.noarch

–> Processing Dependency: log4j for package: tomcat6-6.0.24-45.el6.noarch

–> Processing Dependency: log4j for package: tomcat6-6.0.24-45.el6.noarch

–> Processing Dependency: jakarta-commons-pool for package: tomcat6-6.0.24-45.el6.noarch

–> Processing Dependency: jakarta-commons-logging for package: tomcat6-6.0.24-45.el6.noarch

–> Processing Dependency: jakarta-commons-dbcp for package: tomcat6-6.0.24-45.el6.noarch

–> Processing Dependency: jakarta-commons-daemon for package: tomcat6-6.0.24-45.el6.noarch

–> Processing Dependency: jakarta-commons-collections for package: tomcat6-6.0.24-45.el6.noarch

–> Running transaction check

—> Package jakarta-commons-collections.noarch 0:3.2.1-3.4.el6 will be installed

—> Package jakarta-commons-daemon.i686 1:1.0.1-8.9.el6 will be installed

–> Processing Dependency: libgcj_bc.so.1 for package: 1:jakarta-commons-daemon-1.0.1-8.9.el6.i686

–> Processing Dependency: java-gcjcompat for package: 1:jakarta-commons-daemon-1.0.1-8.9.el6.i686

–> Processing Dependency: java-gcjcompat for package: 1:jakarta-commons-daemon-1.0.1-8.9.el6.i686

—> Package jakarta-commons-dbcp.noarch 0:1.2.1-13.8.el6 will be installed

—> Package jakarta-commons-logging.noarch 0:1.0.4-10.el6 will be installed

—> Package jakarta-commons-pool.i686 0:1.3-12.7.el6 will be installed

—> Package log4j.i686 0:1.2.14-6.4.el6 will be installed

–> Processing Dependency: xml-commons-apis for package: log4j-1.2.14-6.4.el6.i686

—> Package mx4j.noarch 1:3.0.1-9.13.el6 will be installed

–> Processing Dependency: javamail >= 1.2-5jpp for package: 1:mx4j-3.0.1-9.13.el6.noarch

–> Processing Dependency: bcel >= 5.0 for package: 1:mx4j-3.0.1-9.13.el6.noarch

–> Processing Dependency: axis >= 1.1 for package: 1:mx4j-3.0.1-9.13.el6.noarch

–> Processing Dependency: xml-commons-resolver for package: 1:mx4j-3.0.1-9.13.el6.noarch

–> Processing Dependency: jaf for package: 1:mx4j-3.0.1-9.13.el6.noarch

—> Package tomcat6-lib.noarch 0:6.0.24-45.el6 will be installed

–> Processing Dependency: tomcat6-servlet-2.5-api = 6.0.24-45.el6 for package: tomcat6-lib-6.0.24-45.el6.noarch

–> Processing Dependency: tomcat6-jsp-2.1-api = 6.0.24-45.el6 for package: tomcat6-lib-6.0.24-45.el6.noarch

–> Processing Dependency: tomcat6-el-2.1-api = 6.0.24-45.el6 for package: tomcat6-lib-6.0.24-45.el6.noarch

–> Processing Dependency: ecj for package: tomcat6-lib-6.0.24-45.el6.noarch

–> Running transaction check

—> Package axis.noarch 0:1.2.1-7.2.el6 will be installed

–> Processing Dependency: wsdl4j for package: axis-1.2.1-7.2.el6.noarch

–> Processing Dependency: jakarta-commons-httpclient for package: axis-1.2.1-7.2.el6.noarch

–> Processing Dependency: jakarta-commons-discovery for package: axis-1.2.1-7.2.el6.noarch

—> Package bcel.i686 0:5.2-7.2.el6 will be installed

–> Processing Dependency: regexp for package: bcel-5.2-7.2.el6.i686

—> Package classpathx-jaf.i686 0:1.0-15.4.el6 will be installed

—> Package classpathx-mail.noarch 0:1.1.1-9.4.el6 will be installed

—> Package ecj.i686 1:3.4.2-6.el6 will be installed

—> Package java-1.5.0-gcj.i686 0:1.5.0.0-29.1.el6 will be installed

–> Processing Dependency: sinjdoc for package: java-1.5.0-gcj-1.5.0.0-29.1.el6.i686

—> Package libgcj.i686 0:4.4.6-4.el6 will be installed

—> Package tomcat6-el-2.1-api.noarch 0:6.0.24-45.el6 will be installed

—> Package tomcat6-jsp-2.1-api.noarch 0:6.0.24-45.el6 will be installed

—> Package tomcat6-servlet-2.5-api.noarch 0:6.0.24-45.el6 will be installed

—> Package xml-commons-apis.i686 0:1.3.04-3.6.el6 will be installed

—> Package xml-commons-resolver.i686 0:1.1-4.18.el6 will be installed

–> Running transaction check

—> Package jakarta-commons-discovery.noarch

1:0.4-5.4.el6 will be installed

—> Package jakarta-commons-httpclient.i686 1:3.1-0.6.el6 will be installed

—> Package regexp.i686 0:1.5-4.4.el6 will be installed

—> Package sinjdoc.i686 0:0.5-9.1.el6 will be installed

–> Processing Dependency: java_cup >= 0.10 for package: sinjdoc-0.5-9.1.el6.i686

—> Package wsdl4j.noarch 0:1.5.2-7.8.el6 will be installed

–> Running transaction check

—> Package java_cup.i686 1:0.10k-5.el6 will be installed

–> Finished
Dependency Resolution

Dependencies Resolved

 

=================================================================================

PackageArchVersionRepositorySize

=================================================================================

Installing:

tomcat6noarch 6.0.24-45.el6 base87 k

Installing for dependencies:

axisnoarch 1.2.1-7.2.el6 base1.5 M

bceli6865.2-7.2.el6 base1.2 M

classpathxjafi6861.0-15.4.el6base92 k

classpathx-mailnoarch1.1.1-9.4.el6base479 k

ecj i6861:3.4.2-6.el6 base2.5 M

jakarta-commons-collections noarch3.2.1-3.4.el6base523 k

jakarta-commons-daemoni6861:1.0.1-8.9.el6base43 k

jakarta-commons-dbcpnoarch1.2.1-13.8.el6base116 k

jakarta-commons-discoverynoarch1:0.4-5.4.el6base73 k

jakarta-commons-httpclienti6861:3.1-0.6.el6base519 k

jakarta-commons-loggingnoarch1.0.4-10.el6base52 k

jakarta-commons-pooli6861.3-12.7.el6base110 k

java-1.5.0-gcji6861.5.0.0-29.1.el6base138 k

java_cupi6861:0.10k-5.el6base178 k

libgcji6864.4.6-4.el6base17 M

log4ji6861.2.14-6.4.el6base603 k

mx4jnoarch 1:3.0.1-9.13.el6 base1.1 M

regexpi6861.5-4.4.el6base97 k

sinjdoci6860.5-9.1.el6base646 k

tomcat6-el-2.1-apinoarch6.0.24-45.el6base43 k

tomcat6-jsp-2.1-apinoarch6.0.24-45.el6base80 k

tomcat6-libnoarch6.0.24-45.el6base2.8 M

tomcat6-servlet-2.5-apinoarch6.0.24-45.el6base94 k

wsdl4jnoarch1.5.2-7.8.el6base157 k

xml-commons-apisi6861.3.04-3.6.el6base388 k

xml-commons-resolveri6861.1-4.18.el6base128 k

 

Transaction Summary

==================================================================================

Install27 Package(s)

 

Total download size: 31 M

Installed size: 84 M

Is this ok [y/N]: y

Downloading Packages:

(1/27):axis-1.2.1-7.2.el6.noarch.rpm | 1.5 MB00:00

(2/27): bcel-5.2-7.2.el6.i686.rpm| 1.2 MB00:00

(3/27): classpathx-jaf-1.0-15.4.el6.i686.rpm |92 kB00:00

(4/27): classpathx-mail-1.1.1-9.4.el6.noarch.rpm| 479 kB00:00

(5/27): ecj-3.4.2-6.el6.i686.rpm | 2.5 MB00:04

(6/27): jakarta-commons-collections-3.2.1-3.4.el6.noarch.rpm| 523 kB 00:00

(7/27):jakarta-commons-daemon-1.0.1-8.9.el6.i686.rpm|43 kB00:00

(8/27): jakarta-commons-dbcp-1.2.1-13.8.el6.noarch.rpm | 116 kB 00:00

(9/27): jakarta-commons-discovery-0.4-5.4.el6.noarch.rpm|73 kB00:00

(10/27): jakarta-commons-httpclient-3.1-0.6.el6.i686.rpm| 519 kB 00:00

(11/27): jakarta-commons-logging-1.0.4-10.el6.noarch.rpm|52 kB00:00

(12/27): jakarta-commons-pool-1.3-12.7.el6.i686.rpm| 110 kB 00:00

(13/27): java-1.5.0-gcj-1.5.0.0-29.1.el6.i686.rpm| 138 kB 00:00

(14/27): java_cup-0.10k-5.el6.i686.rpm | 178 kB 00:00

(15/27): libgcj-4.4.6-4.el6.i686.rpm|17 MB00:10

(16/27): log4j-1.2.14-6.4.el6.i686.rpm| 603 kB 00:00

(17/27): mx4j-3.0.1-9.13.el6.noarch.rpm | 1.1 MB00:00

(18/27): regexp-1.5-4.4.el6.i686.rpm |97 kB00:00

(19/27): sinjdoc-0.5-9.1.el6.i686.rpm | 646 kB 00:00

(20/27): tomcat6-6.0.24-45.el6.noarch.rpm |87 kB00:00

(21/27): tomcat6-el-2.1-api-6.0.24-45.el6.noarch.rpm |43 kB00:00

(22/27): tomcat6-jsp-2.1-api-6.0.24-45.el6.noarch.rpm |80 kB00:00

(23/27): tomcat6-lib-6.0.24-45.el6.noarch.rpm | 2.8 MB00:02

(24/27): tomcat6-servlet-2.5-api-6.0.24-45.el6.noarch.rpm|94 kB00:00

(25/27): wsdl4j-1.5.2-7.8.el6.noarch.rpm| 157 kB 00:00

(26/27): xml-commons-apis-1.3.04-3.6.el6.i686.rpm| 388 kB 00:00

(27/27): xml-commons-resolver-1.1-4.18.el6.i686.rpm| 128 kB 00:00

—————————————————————————————————————————–

Total
1.4 MB/s |31

MB00:21

warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature,
key ID c105b9de: NOKEY

Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

Importing GPG key 0xC105B9DE:

Userid : CentOS-6 Key (CentOS 6 Official Signing Key)
<centos-6-key@centos.org>

Package:
centos-release-6-3.el6.centos.9.i686 (@anaconda-CentOS-201207051201.i386/6.3)

From: /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

 

Is this ok [y/N]: y

Running rpm_check_debug

Running Transaction Test

Transaction Test Succeeded

Running Transaction

Warning: RPMDB altered outside of yum.

Installing : jakarta-commons-logging-1.0.4-10.el6.noarch

1/27

Installing : jakarta-commons-collections-3.2.1-3.4.el6.noarch

2/27

Installing : tomcat6-servlet-2.5-api-6.0.24-45.el6.noarch

3/27

Installing : tomcat6-jsp-2.1-api-6.0.24-45.el6.noarch

4/27

Installing : 1:jakarta-commons-discovery-0.4-5.4.el6.noarch

5/27

Installing : tomcat6-el-2.1-api-6.0.24-45.el6.noarch
6/27

Installing : libgcj-4.4.6-4.el6.i686

7/27

Installing : java-1.5.0-gcj-1.5.0.0-29.1.el6.i686

8/27

Installing : 1:java_cup-0.10k-5.el6.i686

9/27

Installing : sinjdoc-0.5-9.1.el6.i686
10/27

Installing : jakarta-commons-pool-1.3-12.7.el6.i686

11/27

Installing : xml-commons-apis-1.3.04-3.6.el6.i686
12/27

Installing : log4j-1.2.14-6.4.el6.i686


13/27

Installing : classpathx-jaf-1.0-15.4.el6.i686
14/27

Installing : classpathx-mail-1.1.1-9.4.el6.noarch

15/27

Installing : jakarta-commons-dbcp-1.2.1-13.8.el6.noarch

16/27

Installing : wsdl4j-1.5.2-7.8.el6.noarch

17/27

Installing : xml-commons-resolver-1.1-4.18.el6.i686

18/27

Installing : 1:jakarta-commons-httpclient-3.1-0.6.el6.i686


19/27

Installing : axis-1.2.1-7.2.el6.noarch

20/27

Installing : 1:jakarta-commons-daemon-1.0.1-8.9.el6.i686

21/27

Installing : 1:ecj-3.4.2-6.el6.i686

22/27

Installing : regexp-1.5-4.4.el6.i686

23/27

Installing : bcel-5.2-7.2.el6.i686

24/27

Installing : 1:mx4j-3.0.1-9.13.el6.noarch

25/27

Installing : tomcat6-lib-6.0.24-45.el6.noarch

26/27

Installing : tomcat6-6.0.24-45.el6.noarch

27/27

Verifying: tomcat6-el-2.1-api-6.0.24-45.el6.noarch

1/27

Verifying: classpathx-mail-1.1.1-9.4.el6.noarch

2/27

Verifying: 1:jakarta-commons-httpclient-3.1-0.6.el6.i686

3/27

Verifying: 1:jakarta-commons-discovery-0.4-5.4.el6.noarch

4/27

Verifying: tomcat6-lib-6.0.24-45.el6.noarch

5/27

Verifying: jakarta-commons-pool-1.3-12.7.el6.i686

6/27

Verifying: jakarta-commons-collections-3.2.1-3.4.el6.noarch

7/27

Verifying: xml-commons-resolver-1.1-4.18.el6.i686

8/27

Verifying: tomcat6-servlet-2.5-api-6.0.24-45.el6.noarch

9/27

Verifying: tomcat6-6.0.24-45.el6.noarch

10/27

Verifying: 1:java_cup-0.10k-5.el6.i686

11/27

Verifying: sinjdoc-0.5-9.1.el6.i686

12/27

Verifying: libgcj-4.4.6-4.el6.i686

13/27

Verifying: jakarta-commons-logging-1.0.4-10.el6.noarch

14/27

Verifying: wsdl4j-1.5.2-7.8.el6.noarch

15/27

Verifying: axis-1.2.1-7.2.el6.noarch

16/27

Verifying: 1:jakarta-commons-daemon-1.0.1-8.9.el6.i686

17/27

Verifying: java-1.5.0-gcj-1.5.0.0-29.1.el6.i686
18/27

Verifying: bcel-5.2-7.2.el6.i686

19/27

Verifying: xml-commons-apis-1.3.04-3.6.el6.i686
20/27

Verifying: tomcat6-jsp-2.1-api-6.0.24-45.el6.noarch

21/27

Verifying: log4j-1.2.14-6.4.el6.i686

22/27

Verifying: 1:ecj-3.4.2-6.el6.i686

23/27

Verifying : 1:mx4j-3.0.1-9.13.el6.noarch

24/27

Verifying: jakarta-commons-dbcp-1.2.1-13.8.el6.noarch

25/27

Verifying: classpathx-jaf-1.0-15.4.el6.i686

26/27

Verifying: regexp-1.5-4.4.el6.i686

27/27

Installed:

tomcat6.noarch 0:6.0.24-45.el6

 

Dependency Installed:

axis.noarch 0:1.2.1-7.2.el6

bcel.i686 0:5.2-7.2.el6

classpathx-jaf.i686 0:1.0-15.4.el6classpathx-mail.noarch 0:1.1.1-9.4.el6

ecj.i686 1:3.4.2-6.el6jakarta-commons-collections.noarch

0:3.2.1-3.4.el6

jakarta-commons-daemon.i686
1:1.0.1-8.9.el6jakarta-commons-dbcp.noarch
0:1.2.1-13.8.el6

jakarta-commons-discovery.noarch 1:0.4-5.4.el6
jakarta-commons-httpclient.i686 1:3.1-0.6.el6

jakarta-commons-logging.noarch

0:1.0.4-10.el6
jakarta-commons-pool.i686 0:1.3-12.7.el6

java-1.5.0-gcj.i686
0:1.5.0.0-29.1.el6
java_cup.i686 1:0.10k-5.el6

libgcj.i686 0:4.4.6-4.el6log4j.i686
0:1.2.14-6.4.el6

mx4j.noarch 1:3.0.1-9.13.el6regexp.i686 0:1.5-4.4.el6

sinjdoc.i686 0:0.5-9.1.el6
tomcat6-el-2.1-api.noarch 0:6.0.24-45.el6

tomcat6-jsp-2.1-api.noarch

0:6.0.24-45.el6
tomcat6-lib.noarch 0:6.0.24-45.el6

tomcat6-servlet-2.5-api.noarch
0:6.0.24-45.el6
wsdl4j.noarch 0:1.5.2-7.8.el6

xml-commons-apis.i686

0:1.3.04-3.6.el6
xml-commons-resolver.i686 0:1.1-4.18.el6

Complete!

Get Tomcat related Information
after Successful Installation!!!

[root@localhost
~]#

 

[root@localhost ~]# yum info tomcat6

Loaded plugins: fastestmirror, refresh-packagekit, security

Loading mirror speeds from cached hostfile

Installed Packages

Name: tomcat6

Arch: noarch

Version:6.0.24

Release: 45.el6

Size: 188 k

Repo:installed

From repo:base

Summary:Apache Servlet/JSP Engine, RI for Servlet 2.5/JSP 2.1 API

URL: http://tomcat.apache.org/

License: ASL 2.0

Description : Tomcat is the servlet container that is used in the official Reference :
Implementation for the Java Servlet and JavaServer Pages technologies. :
The Java Servlet and JavaServer
Pages specifications are developed by :
Sun under the Java Community Process.:: Tomcat is developed in an open and participatory environment and : released under the Apache Software License version 2.0. Tomcat is intended : to be a collaboration of the best-of-breed developers from around the world.

[root@localhost ~]#

================================================================================

Create a Local Yum Repository in CentOS 6.3 in 5 steps


Create a Local Yum Repository in CentOS 6.3 in 5 steps

1) Install CentOS 6.3 -> How to install CentOS 6.3 ; In CentOS6.3 Desktop Installation, Apache is installed in built. Verify

Cloud Computing – Download Free EBooks and Whitepapers
Java – Download Free EBooks and Whitepapers
Windows – Download Free EBooks and Whitepapers
Apache status in CentOS 6.3
Apache status in CentOS 6.3

2) Insert DVD/ISO into DVD-Drive. 3) Create Directory with mkdir -pv /var/www/html/centos/6.3/i386/RPMS/ and copy all RPM files from the DVD (Part-I, Part-II)

ifconfig - verify the IP Address of the Machine
ifconfig – verify the IP Address of the Machine

cp /var/www/html/centos6.3/i386/createrepo* /tmp/repo/

cp /var/www/html/centos6.3/i386/deltarpm* /tmp/repo/cp /var/www/html/centos6.3/i386/python-deltarpm* /tmp/repo/cp /var/www/html/centos6.3/i386/libxml2-python* /tmp/repo/
RPMs needed to run create Repository command createrepo
RPMs needed to run create Repository command createrepo
Run the RPMs
RPMs needed to run create Repository command createrepo 1
RPMs needed to run create Repository command createrepo 1
[root@localhost admin]# rpm-ivh /tmp/repo/deltarpm-3.5-0.5.20090913git.el6.i686.rpm
[root@localhost admin]# rpm -ivh /tmp/repo/python-deltarpm-3.5-0.5.20090913git.el6.i686.rpm[root@localhost admin]# rpm -ivh /tmp/repo/libxml2-python-2.7.6-4.el6_2.4.i686.rpm [root@localhost admin]# rpm -ivh /tmp/repo/createrepo-0.9.8-5.el6.noarch.rpm
createrepo - Create repomd (xml-rpm-metadata) repository
createrepo  is a program that creates a repomd (xml-based rpm metadata)
       repository from a set of rpms.
4) [root@localhost admin]# createrepo /var/www/html/centos6.3/i386/
createrepo command
createrepo command

[root@localhost admin]# createrepo /var/www/html/centos6.3/i386/2559/4776 – php-tidy-5.3.3-3.el6_2.8.i686.rpm

iso-8859-1 encoding on Ville Skytt� <ville.skytta@iki.fi> – 2.8.24776/4776 – diffutils-2.8.1-28.el6.i686.rpm
Saving Primary metadata Saving file lists metadata Saving other metadata [root@localhost admin]#

Use Rsync to create the updates-released repository (Not tried) 5) Change baseurl as per assigned IP address or use Localhost; Make sure that you change baseurl in all sections in the /etc/yum.repos.d/CentOS-Base.repo file (Hint: You need to make sure that baseurl is correct else it will give error for repodata/repomd.xml file; If createrepo command will run successfully then this directory along with files will be created where all RPMs are located or where you have created repository. ).

edit -etc-yum.repos.d-CentOS-Base.repo
edit -etc-yum.repos.d-CentOS-Base.repo

Done!!!

How to install CentOS 6.3


Use CentOS 6.3 ISO file to install. You will get…

Download CentOS 6.3 ISO files from

Cloud Computing – Download Free EBooks and Whitepapers
Java – Download Free EBooks and Whitepapers
Windows – Download Free EBooks and Whitepapers

CentOS is a free operating system distribution based upon the Linux kernel. It is derived entirely from the Red Hat Enterprise Linux (RHEL) distribution. CentOS exists to provide a free enterprise class computing platform and strive to maintain 100% binary compatibility with its upstream source, Red Hat. CentOS stands for Community enterprise Operating System.

CentOS 6.3 - Install or Upgrade an Existing System
CentOS 6.3 – Install or Upgrade an Existing System
CentOS 6.3 - Test the Installation Media
CentOS 6.3 – Test the Installation Media
CentOS 6.3 - Test the Installation Disc
CentOS 6.3 – Test the Installation Disc
CentOS 6.3 - Test the Installation Disc 1
CentOS 6.3 – Test the Installation Disc 1
CentOS 6.3 - Successful Test of the Installation Media
CentOS 6.3 – Successful Test of the Installation Media
CentOS 6.3 - System Installer Wait State
CentOS 6.3 – System Installer Wait State
CentOS 6.3 - System Installer Wait State
CentOS 6.3 – System Installer Wait State
CentOS 6.3 - Select Language for Installation Process
CentOS 6.3 – Select Language for Installation Process
CentOS 6.3 - Select appropriate keyboard for the system
CentOS 6.3 – Select appropriate keyboard for the system

CentOS 6.3 - Types of devices in Installation

CentOS 6.3 – Types of devices in Installation

CentOS 6.3 - Storage Device Warning

CentOS 6.3 – Storage Device Warning
CentOS 6.3 - Provide Hostname
CentOS 6.3 – Provide Hostname

CentOS 6.3 - Select Time Zone

CentOS 6.3 – Select Time Zone
CentOS 6.3 - Enter Password for Root User
CentOS 6.3 – Enter Password for Root User
CentOS 6.3 - Installation Type-Custom Layout
CentOS 6.3 – Installation Type-Custom Layout

CentOS 6.3 - Selct a Device

CentOS 6.3 – Selct a Device
CentOS 6.3 - Create a Partition
CentOS 6.3 – Create a Partition

The partition mounted on /boot/ contains the operating system kernel which allows your system to boot operating system, along with files used during the bootstrap process. For most users, a 250 MB boot partition is sufficient.

CentOS 6.3 - Create a Partition-Boot Partition
CentOS 6.3 – Create a Partition-Boot Partition

The root file system is represented by a (/) which is the top of the directory tree. This is roughly equivalent to your “C:” drive under DOS or Windows. User must create a partition for the root directory. The size of your root partition will differ depending on what you install or plan to install.

CentOS 6.3 - Create a Partition-Root Partition
CentOS 6.3 – Create a Partition-Root Partition

SWAP space on your hard drive can be used as virtual memory. Virtual memory allows your computer to run bulky programs and perform multifaceted tasks even if it does not have enough physical RAM. Data is written to a swap partition when there is not enough RAM to store the data your system is processing. Create one swap partition that is 50% to 100% the size of the physical RAM in your system. If you are short on RAM with plenty of drive space, go big. If you are short on drive space and have lots of RAM, go little.

CentOS 6.3 - Create a Partition-Swap Partition
CentOS 6.3 – Create a Partition-Swap Partition

Click on Next…

CentOS 6.3 - All Partitions
CentOS 6.3 – All Partitions
CentOS 6.3 - Format Partitions
CentOS 6.3 – Format Partitions
CentOS 6.3 - Writing Storage Configurations to Disc
CentOS 6.3 – Writing Storage Configurations to Disc
CentOS 6.3 - Formatting
CentOS 6.3 – Formatting
CentOS 6.3 - Boot Loader Operating System List
CentOS 6.3 – Boot Loader Operating System List
CentOS 6.3 - Desktop Installation of CentOS 6.3
CentOS 6.3 – Desktop Installation of CentOS 6.3
CentOS 6.3 - Starting Installation Process
CentOS 6.3 – Starting Installation Process
CentOS 6.3 - Package Installation Process
CentOS 6.3 – Package Installation Process
CentOS 6.3 - Package Installation Completed
CentOS 6.3 – Package Installation Completed
CentOS 6.3 - Installing Boot Loader
CentOS 6.3 – Installing Boot Loader
CentOS 6.3 - Installation Completed
CentOS 6.3 – Installation Completed
CentOS 6.3 - Installation Completed - Reboot
CentOS 6.3 – Installation Completed – Reboot
CentOS 6.3 - Installation Completed - Reboot 1
CentOS 6.3 – Installation Completed – Reboot 1
CentOS 6.3 Configuration - Welcome
CentOS 6.3 Configuration – Welcome
CentOS 6.3 Configuration - License Details
CentOS 6.3 Configuration – License Details
CentOS 6.3 Configuration - Create User
CentOS 6.3 Configuration – Create User

CentOS 6.3 Configuration - Date and Time

CentOS 6.3 Configuration – Date and Time
CentOS 6.3 Configuration - Kdump
CentOS 6.3 Configuration – Kdump
CentOS 6.3 Configuration - Kdump 1
CentOS 6.3 Configuration – Kdump 1
CentOS 6.3 Login
CentOS 6.3 Login

Done!!