Sunday 15 April 2012

Installing Redhat Enterprises Linux ,kickstart

INSTALLATION:



Installation can be done either by CDROM , NFS, LAN, FTP
Partition type and its size
/                      10000MB
            /boot               128MB
            /home             1000MB
            swap               256 MB ( 1.5 to 2 times more than RAM Size)

to check the RAM size do the following step
Ctrl+alt+f7
Then type the following
#cat /proc/meminfo
this command will display the size and other information regarding RAM
Ctrl+Alt+F7 to return to the installation mode.

Note:
While installation we have to make sure that firewall option should be disable
  1. No firewall
  2. Selinux disable
Following Package are needed at the time of installation.
Desktop
1.      X Window
2.      GNOME
Application
1.      Text Editor
2.      Graphical Internet
3.      Text Based Internet
Server
1.      Server configuration tools
2.      Web Server
3.      Mail server
4.      DNS server
5.      FTP Server
6.      Network Server
7.      Legacy Network Server ( in this select Telnet)
System
1.      Administrative Tools
2.      System tools
3.      Printing tools

Max Space Needed    :           6132MB
Min Space Needed     :           681 MB

While Installing Redhat linux 4.0 WS with the help of NFS and FTP, we have to perform the following step
First we have to check the rpm of ftp/nfs
ftp : vsftp-2.0.1…….
nfs : nfs-utils-1.0.6……
Now copy the disk 1 of the Redhat linux into the folder “/var/ftp/pub”
Now copy RPMS of remaining CD’s (Disk 2,3,and 4) inside /var/ftp/pub/RedHat/RPMS/
Now we need to configure the exports file.
#vi /etc/exports
/var/ftp/pub            192.168.0.0/255.255.255.0(rw,sync)
save and exit
now start the service
#service portmap restart
#chkconfig portmap on
#service nfs restart
#chkconfig nfs on

Now Boot the new system from disk 1 of Redhat linux and type
Linux askmethod
Choose language : English
Keyboard Type   : U.S
Installation Method : NFS Image
NFS Server name : 192.168.0.254
NFS Dierctory : /var/ftp/pub
And continue the installation
There is slightly change in case of FTP

In case of FTP:
Boot the system from disk 1 of redhat linux and type
Linux askmethod
Choose language : English
Keyboard Type   : U.S
Installation Method : FTP
Then first mentioned your system ip address in order to identify itself in network
192.168.0.24
255.255.255.0
then mentioned the FTP server address as
192.168.0.254
255.255.255.0
mount point : pub ( as in case of FTP the default path is /var/ftp)
and continue the installation

Kick Start :-


Kick start is one of the automatic installation method. Before making kick start file we need to check the rpm
Rpm : system-config-kickstart
Kick start consist of installation wizard which we can configured for another system like general information, root password, package , set the language, keyboard type, network, installation type etc. then save the kick start with any name say nfsks.cfg under /root
Suppose we use NFS type then we have to mentioned
NFS Ip address           :           192.168.0.254
Path                            :           /var/ftp/pub
Now we have to edit the file nfsks.cfg by editing one line
Selinux-disable
Now we have to configure the file /etc/exports
#vi /etc/exports
/root   192.168.0.0/255.255.255.0(rw,sync)
/var/ftp/pub            192.168.0.0/255.255.255.0(rw,sync)

Now start the service
#service portmap restart
#chkconfig portmap on
#Service nfs restart
#chkconfig nfs on
#service dhcpd restart
#chkconfig dhcpd on

Now boot the new system by Disk 1 of RedHat linux
And type
Linux ks=nfs:192.168.0.254:/root/nfsks.cfg
And continue the installation


 Thanks,

1 comment: