Tuesday, February 11, 2014

RHEL 6.2(Red Hat Enterprise Linux 6.2) installation on IBM X3300 M4

Linux 6.2 Installation on IBM X3300 M4


First I tried to install Ubuntu server on IBM X3300 M4,

But it failed to install Boot loader !!!


Then I tried to install RHEL 6.2,
After installation of RHEL 6.2 , I rebooted the system.


When system started I got an error !!!
Kernel panic – not syncing: Attempted to kill init!




To install RHEL 6.2 properly Follow Below Steps:


1.     Go to below link and download additional drivers for RHEL 6.2

You have to register as new user on IBM official site… and its free !!!




2.     Then follow below steps:

Installation Procedure:


  • Unzip the archive which you downloaded using the link and copy that in a pendrive/Flash Drive… 
  • Boot to RHEL 6 installation media to begin install.
  • At the "RHEL 6.2 will install in 3 seconds…" screen, press any key,
  • From GNU GRUB Menu , edit “ Red Hat Enterprise Linux 6.2” and add below line by pressing ‘e’, then select “Kernel …..” and press ‘e’ and edit below line at last
                                    Linux dd blacklist=isci

       Press "Enter" and press ‘b’ to start the install.

  • When prompted, choose "Yes" to having a driver disk.
  • Select the device it was ‘sda’ in my case , you select the drive and check the data which was in zip file is there … 
  • Then Install additional drivers which are for RHEL 6.2 but first check it is for 32 bit or 62 bit.
  •  On the next screen, either verify the media or skip the media test as prompted.
  • And do the installation and your system will start normally….



For GUI interface in RHEL 6.2 follow below steps:::

For GUI interface in RHEL 6.2 you have to install all the gnome packages of RHEL 6.2.
Using rpm its not easy to install above 240 packages ….
So you have to install YUM(Yellow-Dog Update Manager)Server for that…
Steps to install and Configure YUM Server For the local system:


1.     Insert RHEL 6.2 DVD in DVD drive

2.     Mount that dvd to /mnt using below command

#mount  /dev/dvd(or cdrom) /mnt

3.     Install vsftpd package using below command

#cd /dev/dvd/Packages(or Server) where the all packages are there and then,

Fire command

#rpm –ivh vsftpd(then press Tab Button so you will get the whole package name) 
then press 

Enter button

4.     Then install some needy packages using below command

#rpm –ivh deltarpm(then press Tab Button so you will get the whole package name) then 

press Enter button

#rpm –ivh python-deltarpm(then press Tab Button so you will get the whole package name) 

then press Enter button

#rpm –ivh createrepo(then press Tab Button so you will get the whole package name) then 

press Enter button

5.     copy all the packages from dvd to the system using below command

#cp –av /mnt/Packages /var/ftp/pub/yum/Server

6.     then you have to configure a file named base.repo. for that follow below steps:

hit below command
      #hostname serpent
      #vi /etc/yum.repos.d/base.repo

by pressing Shift+i key you will able to edit in that file…
edit below things

[Server]
      name=serpent
      baseurl=file:///var/ftp/pub/yum/Server
      enabled=1
      gpgcheck=0

then press ESC button

then write below thing

      :wq!

And press enter …. You have configured this file …


7.     now put below command to create repository of the packages

#createrepo /var/ftp/pub/yum/Server/

8.     now check the configuration of yum server using below command

#yum update all

if you see all the packages updated [################ 100%] with this sigh.

9.     Then put below command for installing needy packages for GUI using yum

#yum install gnome*(* is for all packages related to this name)
then press ‘y’ and enter button

then install below packages as the same
      #yum install kde*
      #yum install X*
      #yum install xorg*

10. After installing these packages type below command

#startx

Now you will get the GUI interface ….. !!!

When you login the server .. after loging in if you do not get the display then you just type below command every time :)


#startx