Editing Installfest Services

Jump to: navigation, search

Warning: You are not logged in.

Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 100: Line 100:
 
* Install the various packages:
 
* Install the various packages:
 
   
 
   
  '''server% sudo yum install xinetd tftp-server dhcp syslinux'''
+
  '''server% sudo yum install xinetd tftp-server dhcp'''
  
* Enable TFTP Service
+
* TBD
 
+
'''server% sudo vim /etc/xinetd.d/tftp && /sbin/service xinetd restart"
+
        disable                = no
+
 
+
* Copy the various syslinux files into place
+
 
+
'''server% sudo cp /usr/share/syslinux/{pxelinux.0,vesamenu.c32} /var/lib/tftpboot'''
+
'''server%  mkdir /var/lib/tftpboot/pxelinux.cfg'''
+
 
+
* Populate the default config with a menu
+
 
+
'''server% sudo vim /var/lib/tftpboot/pxelinux.cfg/default'''
+
 
+
Try to match [Link to SVN repository here]
+
Use this URL for now: https://alteeve.com/w/Setting_Up_a_PXE_Server_on_an_RPM-based_OS#The_Configuration_Files
+
 
+
'''NOTE:''' Setup a menu item for each distro.  They vmlinuz and initrd will be relative to ''/var/lib/tftp'' and should reside in sub-directories.
+
 
+
* For each distro (rhel58,rhel62) copy the ''vmlinuz'' and ''initrd.img'' from the install (not the LiveCD) media
+
'''server% sudo mkdir -p /var/lib/tftpboot/rhel62 && cp /media/cdrom/isolinux/{initrd.img,vesamenu.c32} /var/lib/tftpboot/rhel62'''
+
 
+
* TFTP boot and load your end user device (permutations for i386/x86_64 will be required)
+
 
+
* Install Apache for the local media and updates service
+
 
+
NOTE: Make sure that ~500 gigs of space is available on '''/export'''
+
 
+
* Setup /etc/httpd/conf.d/wplug-services.conf
+
 
+
[Sample Soon]
+
 
+
* Setup a cron job to rsync a local copy of the redhat updates:
+
 
+
'''server% mkdir -p /export/services/linux/rhel/62 /export/services/linux/fedora/16'''
+
  
 
* Setup IPTables rules to permit inbound on 67,68,68, etc for DHCP/BOOTP and TFTP
 
* Setup IPTables rules to permit inbound on 67,68,68, etc for DHCP/BOOTP and TFTP

Please note that all contributions to WPLUG may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see WPLUG:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)