LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 09-01-2010, 12:13 AM   #1
Skillz
Member
 
Registered: Sep 2007
Posts: 234

Rep: Reputation: 32
PXE Install


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.
 
Old 09-01-2010, 12:34 AM   #2
feinbein
Member
 
Registered: Jan 2010
Location: Norway
Posts: 76

Rep: Reputation: 12
http://drbl.sourceforge.net/download/sourceforge/

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!
 
Old 09-01-2010, 01:15 AM   #3
Skillz
Member
 
Registered: Sep 2007
Posts: 234

Original Poster
Rep: Reputation: 32
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.
 
Old 09-01-2010, 11:29 PM   #4
kaushalpatel1982
Member
 
Registered: Aug 2007
Location: INDIA
Distribution: CentOS, RHEL, Fedora, Debian, Ubuntu, LinuxMint, PCLinuxOS
Posts: 137

Rep: Reputation: 7
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
#

ddns-update-style interim;
subnet 10.10.10.0 netmask 255.255.255.0 {
range 10.10.10.98 10.10.10.99;
default-lease-time 3600;
max-lease-time 4800;
option routers 10.10.10.29;
option domain-name-servers 10.10.10.29;
option subnet-mask 255.255.255.0;
option domain-name "qa.net";
option time-offset -8;
next-server 10.10.10.29;
}

host test {
hardware ethernet 00:10:F3:09:89:48;
fixed-address 10.10.10.98;
option host-name "test";
filename "/linux-install/pxelinux.0";
}
=================================================
Configure HTTP server...................
<Directory /mnt/iso>
Options Indexes
AllowOverride None
</Directory>

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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OS install via pxe question(s) mauirixxx Linux - Software 4 08-12-2010 06:19 PM
pxe kickstart redhat install + vnc/smilar during install fishjohn Linux - Server 1 04-24-2010 09:22 AM
PXE install AroundMyHorn Linux - Server 2 02-27-2008 03:51 PM
Help how to install PXE ciquey27 Linux - Newbie 1 03-27-2006 08:47 PM
trying linux install over pxe paha Linux - General 0 12-14-2004 07:09 AM


All times are GMT -5. The time now is 10:00 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration