PXE: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
= pxe = | = pxe = | ||
Op | Op de virtuele server 'pxe' draait een PXE-server voor installatie van debian op afstand. | ||
Er wordt door middel van dhcp een extern IP adres uitgedeeld waarmee je een server kan herinstalleren. | |||
Op deze pagina staat complete installatie handleiding: [http://www.howtoforge.com/ubuntu_pxe_install_server http://www.howtoforge.com/ubuntu_pxe_install_server] | |||
== tftp == | == tftp == | ||
De tftp boot files staan in /var/lib/tftpboot | |||
== dhcp == | == dhcp == | ||
De dhcp server deelt twee reeksen uit | De dhcp server deelt twee reeksen uit:<br> | ||
1 in de 2e interne reeks 172.31.1.0/24 van 172.31.1.100 tot 172.31.1.150 | 1 in de 2e interne reeks 172.31.1.0/24 van 172.31.1.100 tot 172.31.1.150<br> | ||
2 in de externe reeks 212.72.224.0/26 van 212.72.224.24 tot 212.72.224.26 | 2 in de externe reeks 212.72.224.0/26 van 212.72.224.24 tot 212.72.224.26 | ||
De config van dhcp | |||
<pre> | <pre> | ||
Line 37: | Line 38: | ||
=== ubuntu === | === ubuntu === | ||
==== Versie 8.10 ==== | ==== Versie 8.10 ==== | ||
De installatie bestanden staan in : /var/lib/tftpboot/ubuntu-installer-810 | |||
==== Versie 9.04 ==== | ==== Versie 9.04 ==== | ||
De installatie bestanden staan in : /var/lib/tftpboot/ubuntu-installer-904 | |||
==== Versie 9.10 ==== | ==== Versie 9.10 ==== | ||
De installatie bestanden staan in : /var/lib/tftpboot/ubuntu-installer-910 | |||
==== Versie 10.04 ==== | ==== Versie 10.04 ==== | ||
De installatie bestanden staan in : /var/lib/tftpboot/ubuntu-installer-1004 | |||
=== debian === | === debian === | ||
==== Versie 5.0 ==== | ==== Versie 5.0 ==== | ||
De installatie bestanden staan in : /var/lib/tftpboot/debian-installer-50 | |||
=== fedora === | === fedora === | ||
====Versie 11 ==== | ====Versie 11 ==== | ||
===== | ===== Bestands locaties ===== | ||
De installatie bestanden staan in : /var/lib/tftpboot/fedora-installer-11 | |||
===== Configuratie scripts ===== | ===== Configuratie scripts ===== | ||
In /var/www staan 2 configuratie scripts (kickstart) een voor 32 bit en 64 bit | In /var/www staan 2 configuratie scripts (kickstart) een voor 32 bit en 64 bit. | ||
In deze scripts staat de URL van de mirror, zodat de gebruiker vanaf daar kan installeren.<br> | |||
Hieronder een voorbeeld van zo'n bestand: | |||
<pre> | <pre> | ||
network --device eth0 --bootproto dhcp | network --device eth0 --bootproto dhcp | ||
Line 62: | Line 64: | ||
=== centos === | === centos === | ||
==== Versie 5.3 ==== | ==== Versie 5.3 ==== | ||
===== | ===== Bestands locaties ===== | ||
De installatie bestanden staan in : /var/lib/tftpboot/centos-installer-53 | |||
===== Configuratie scripts ===== | ===== Configuratie scripts ===== | ||
In /var/www staan 2 configuratie scripts (kickstart) een voor 32 bit en 64 bit | In /var/www staan 2 configuratie scripts (kickstart) een voor 32 bit en 64 bit. | ||
In deze scripts staat de URL van de mirror, zodat de gebruiker vanaf daar kan installeren.<br> | |||
Hieronder een voorbeeld van zo'n bestand: | |||
<pre>network --device eth0 --bootproto dhcp | <pre>network --device eth0 --bootproto dhcp | ||
#Use HTTP installation media | #Use HTTP installation media | ||
url --url=ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/centos/5.3/os/x86_64/ | url --url=ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/centos/5.3/os/x86_64/ | ||
</pre> | </pre> |
Revision as of 17:30, 12 April 2010
pxe
Op de virtuele server 'pxe' draait een PXE-server voor installatie van debian op afstand.
Er wordt door middel van dhcp een extern IP adres uitgedeeld waarmee je een server kan herinstalleren.
Op deze pagina staat complete installatie handleiding: http://www.howtoforge.com/ubuntu_pxe_install_server
tftp
De tftp boot files staan in /var/lib/tftpboot
dhcp
De dhcp server deelt twee reeksen uit:
1 in de 2e interne reeks 172.31.1.0/24 van 172.31.1.100 tot 172.31.1.150
2 in de externe reeks 212.72.224.0/26 van 212.72.224.24 tot 212.72.224.26
De config van dhcp
default-lease-time 86400; max-lease-time 604800; authoritative; subnet 212.72.224.0 netmask 255.255.255.192 { range 212.72.224.25 212.72.224.26; filename "pxelinux.0"; option subnet-mask 255.255.255.0; option domain-name "hobby.nl"; option domain-name-servers 212.72.224.8; option routers 212.72.224.1; }
distributies
ubuntu
Versie 8.10
De installatie bestanden staan in : /var/lib/tftpboot/ubuntu-installer-810
Versie 9.04
De installatie bestanden staan in : /var/lib/tftpboot/ubuntu-installer-904
Versie 9.10
De installatie bestanden staan in : /var/lib/tftpboot/ubuntu-installer-910
Versie 10.04
De installatie bestanden staan in : /var/lib/tftpboot/ubuntu-installer-1004
debian
Versie 5.0
De installatie bestanden staan in : /var/lib/tftpboot/debian-installer-50
fedora
Versie 11
Bestands locaties
De installatie bestanden staan in : /var/lib/tftpboot/fedora-installer-11
Configuratie scripts
In /var/www staan 2 configuratie scripts (kickstart) een voor 32 bit en 64 bit.
In deze scripts staat de URL van de mirror, zodat de gebruiker vanaf daar kan installeren.
Hieronder een voorbeeld van zo'n bestand:
network --device eth0 --bootproto dhcp #Use HTTP installation media url --url=http://mirror.leaseweb.com/fedora/linux/releases/11/Fedora/x86_64/os
centos
Versie 5.3
Bestands locaties
De installatie bestanden staan in : /var/lib/tftpboot/centos-installer-53
Configuratie scripts
In /var/www staan 2 configuratie scripts (kickstart) een voor 32 bit en 64 bit.
In deze scripts staat de URL van de mirror, zodat de gebruiker vanaf daar kan installeren.
Hieronder een voorbeeld van zo'n bestand:
network --device eth0 --bootproto dhcp #Use HTTP installation media url --url=ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/centos/5.3/os/x86_64/