Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
So I picked up a rack mount server for pretty cheap, it doesn't come with any optical drives so I need to install an OS through the network. I want to install CentOS 5 on the setup, but I have never done a PXE install before. Should be a fun learning experience.
Now I've done some Google searches and can't really find a good article/tutorial that will show how to install CentOS specifically.
What I would REALLY like to do is to be able to run the PXE server through a "Live CD" on my laptop, that I'll connect to the server via network, and install it. I don't really have a dedicated Linux box to install a PXE server on.
What are my options here? Can someone point me in the direction of a good tutorial on how to do a PXE install with CentOS? Finding it rather difficult to find a descent tutorial on Google.
Try the drbl live-cd. Be aware that the drblserver starts a dhcpserver on its own - dont do this in a production environment, your other users might complain!
Its a personal home network and I wont be doing this on a network that's connected to the internet, I have a separate switch I will connect the two devices together with to do the install, once I get it installed I'll put it on the live network with my other devices. Thanks for your reply, I will look into this.
Distribution: CentOS, RHEL, Fedora, Debian, Ubuntu, LinuxMint, Kali Linux, Raspbian
Posts: 166
Rep:
Following are the configuration has to done on your PXE server (You can use VMWare too.)
Disable firewall and selinux
Mount ISO file
mount -o loop /mnt/e/centos5/CentOS-5.0-i386-bin-DVD.iso /mnt/iso
================================================
Configure DHCP Server ...................
#
# DHCP Server Configuration file.
# see /usr/share/doc/dhcp*/dhcpd.conf.sample
#
Alias /linux /mnt/iso
================================================
Enable TFTP server using chkconfig.. restart xinetd
#Chkconfig tftp on
#Service xinetd restart
Configure PXE Installation Service
#pxeos -a -i "test" -p HTTP -D 0 -s 10.10.10.29 -L /linux test
Last edited by kaushalpatel1982; 09-01-2010 at 11:31 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.