Difference between revisions of "Highbank Fedora Installation Config"
Chris Tyler (talk | contribs) (→TFTP configuration) |
Chris Tyler (talk | contribs) (→HTTP configuration) |
||
Line 33: | Line 33: | ||
== HTTP configuration == | == HTTP configuration == | ||
+ | |||
+ | # Configure httpd to serve <code>/var/lib/tftpboot/f18-highbank</code> as <code>/f18-highbank</code> by adding this text to <code>/etc/httpd/conf.d/f18-highbank.cfg</code>: | ||
+ | |||
+ | Alias /f18-highbank "/var/lib/tftpboot/f18-highbank" | ||
+ | |||
+ | <Directory "/var/lib/tftpboot/f18-highbank"> | ||
+ | Options Indexes | ||
+ | AllowOverride None | ||
+ | Order allow,deny | ||
+ | Allow from 192.168.1.0/24 | ||
+ | Deny from all | ||
+ | </Directory> |
Revision as of 11:42, 3 August 2013
DHCP configuration
TFTP configuration
- Create
/var/lib/tftpboot/pxelinux/pxelinux.cfg
- Create
/var/lib/tftpboot/f18-highbank
- Place these files in
/var/lib/tftpboot/f18-highbank
:- http://fedoraproject.org/w/uploads/c/cf/F18-highbank.ks
- http://dl.fedoraproject.org/pub/fedora-secondary/releases/18/Fedora/armhfp/os/images/pxeboot/initrd-highbank.img
- http://dl.fedoraproject.org/pub/fedora-secondary/releases/18/Fedora/armhfp/os/images/pxeboot/vmlinuz-highbank
- http://dl.fedoraproject.org/pub/fedora-secondary/releases/18/Fedora/armhfp/os/images/pxeboot/upgrade-highbank.img
- http://dl.fedoraproject.org/pub/fedora-secondary/releases/18/Fedora/armhfp/os/images/pxeboot/uImage-highbank
- http://dl.fedoraproject.org/pub/fedora-secondary/releases/18/Fedora/armhfp/os/images/pxeboot/uInitrd-highbank
- Change
disable = yes
todisable = no
in/etc/xinetd.d/tftp
- Reload/restart xinetd (note: restart needed if there were previously no available services):
systemctl restart xinetd
PXE configuration
- Place PXE configuration in
/var/lib/tftpboot/pxelinux/pxelinux.cfg
, named "01-mac" e.g., "01-fc-2f-40-48-06-a0"
PXE configuration file contents:
menu title F18 HighBank Boot Options default Highbank-Install prompt 1 timeout 100 label Highbank-Install kernel f18-highbank/vmlinuz-highbank initrd f18-highbank/initrd-highbank.img append console=ttyAMA0 ip=eth0:dhcp ks=http://192.168.1.254/f18-highbank/F18-highbank.ks rd.shell
HTTP configuration
- Configure httpd to serve
/var/lib/tftpboot/f18-highbank
as/f18-highbank
by adding this text to/etc/httpd/conf.d/f18-highbank.cfg
:
Alias /f18-highbank "/var/lib/tftpboot/f18-highbank" <Directory "/var/lib/tftpboot/f18-highbank"> Options Indexes AllowOverride None Order allow,deny Allow from 192.168.1.0/24 Deny from all </Directory>