Friday, February 6, 2009

Installation Server Setup in RHEL5


1.NFS method

  1. system-config-network for setting a static ipaddress

  2. Configure dhcp server with bootp option – refer dhcp installation

  3. Copy the entire dvd contents to /var/ftp/pub

  4. #vi /etc/exports

    /var/ftp/pub *(ro,sync)

  5. #service portmap restart

  6. #chkconfig portmap on

  7. #service nfs restart

  8. #chkconfig nfs on

  9. #cd /var/ftp/pub/Server

  10. #rpm -ivh tftp*

    this rpm has the dependency with xinetd rpm. So install xinetd rpm first.

  11. #cp -avrf /var/ftp/pub/isolinux /tftpboot/

  12. #cp /usr/lib/syslinux/pxelinux.0 /tftpboot/

  13. #cd /tftpboot

  14. #mkdir pxelinux.cfg

  15. #cp /tftpboot/isolinux.cfg /tftpboot/pxelinux.cfg/default

  16. #service xinetd restart

  17. #chkconfig xinetd on

  18. #chkconfig tftp on

2.FTP method

  1. Same steps of NFS method

  2. Create one user and make the path specified /var/ftp/pub/ as the home directory of that user.

    #useradd -d /var/ftp/pub prasanna

    #passwd prasanna

  3. Choose the ftp option while installing, and choose un anonymous option, then provide the username and password that you have created.


Note:

1. Please disable the firewall if any of the methods not working properly. Follow the following steps to disable firewall in RHEL5. You can set your own firewall setup, if you know very well on that.

# iptables -F

# service iptables save

2. PXE (Pre eXecutable Environment) boot ROM required. However these methods can be used in linux askmethod installation also.

3. You cannot do the same method for creating the bootable pendrive.

0 Comments: