1.NFS method
system-config-network for setting a static ipaddress
Configure dhcp server with bootp option – refer dhcp installation
Copy the entire dvd contents to /var/ftp/pub
#vi /etc/exports
/var/ftp/pub *(ro,sync)
#service portmap restart
#chkconfig portmap on
#service nfs restart
#chkconfig nfs on
#cd /var/ftp/pub/Server
#rpm -ivh tftp*
this rpm has the dependency with xinetd rpm. So install xinetd rpm first.
#cp -avrf /var/ftp/pub/isolinux /tftpboot/
#cp /usr/lib/syslinux/pxelinux.0 /tftpboot/
#cd /tftpboot
#mkdir pxelinux.cfg
#cp /tftpboot/isolinux.cfg /tftpboot/pxelinux.cfg/default
#service xinetd restart
#chkconfig xinetd on
#chkconfig tftp on
2.FTP method
Same steps of NFS method
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
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:
Post a Comment