Thursday, July 30, 2009

Network Installation Server

We can install Linux by four types of Network installation method

By FTP server
By HTTP server
By NFS server
By PXE server

Keep ready of FTP server
This is the slowest installation method comparative above four methods.
Mount RHEL5 DVD into /mnt

#yum –y install vsftpd
#mkdir /var/ftp/pub/rhel5
#cp -a /mnt/* /var/ftp/pub/rhel5

#service vsftpd start
(Note: – Give anonymous access to this folder if you want makes this as http server)

By HTTP server
This is comparatively fast installation over ftp

Now no need copy once again rhel5 DVD into your web server directory
Because it’s already in /var/ftp/pub/rhel5, just give a link as follows

#yum –y install httpd
#ln –s ../../ftp/pub/rhel5 /var/www/html/pub/rhel5

#service httpd start

By NFS server

This is faster installation method over ftp and httpd

Now make an image of rhel5 DVD.

You can do image in two method

By mounting DVD
Insert your DVD into CD drive
#dd if=/dev/cdrom of=rhel5.iso

By mounting the folder
We already copied rhel5 DVD in /var/ftp/pub/rhel5
#dd if=/var/ftp/pub/rhel5 of=rhel5.iso

#yum –y install nfs portmap
#vi /etc/exports
/var/ftp/pub/rhel5 192.168.0.0/255.255.255.0 (ro,sync) (Your local lan)

#service portmap start
#service nfs start

By PXE server
This is the fastest method over the others
We will discussed about this in next blog

No comments:

Post a Comment