On Server
#yum install httpd
Note: if you don’t know how to setup yum you can see this post
- Mount the DVD (which is also specified in the above post) and copy the content to /var/www/html/cdrom
For example, if DVD is mounted to /cdrom directory, then
#cp –vrf /cdrom /var/www/html/
Note: alternatively, we can mount the DVD directly to the web accessible, /var/www/html/ path
- Now, start the http service
#service httpd start
- Check the setting using the web browser with server’s IP. If server IP is 192.168.1.10 then use http://192.168.1.10/cdrom
Note: if firewall is on, turn off firewall or add exception to port 80
On the installation system
- Download boot.iso from redhat.
Note: boot.iso not ship with DVD now. So we need to download it from redhat site. Alternatively we can use CentOS netinstall.iso, both are same
http://mirrors.hns.net.in/centos/6.0/isos/x86_64/CentOS-6.0-x86_64-netinstall.iso
http://mirrors.hns.net.in/centos/6.0/isos/i386/CentOS-6.0-i386-netinstall.iso
- Write the the image to a CD and put it in the CD-ROM drive. Alternatively, we can use USB key. It is explained here.
- Reboot the system and supply the following boot string at the end of current line without quotes by pressing tab
'linux repo=http://192.168.1.10/cdrom ip=192.168.1.20 netmask=255.255.255.0 gateway=192.168.1.1 dns=192.168.1.1'
Note: if more than one DNS server is available specify it using comma. DNS server address is optional. Here IP is the address of the current system
2 comments:
I have a home webserver up & running, built on CentOS 5.7! Check my site out
eycs-uk.zapto.org
It's not much but for a home server t does the job!
ok keep it up!!!
Post a Comment