![]()
I) Introduction :
Réaliser l’installation d’une machine peut paraitre anodin, mais si quel part, un jour, quelques dizaines de machines vous attendent pour être installées… Vous aurez à cœur certainement d’optimiser ces installations.
Nous aurons besoin pour réaliser une installation par boot PXE de :
- PXE
- TFTP
- DHCP
II) Installation des services :
# apt-get install tftpd-hpa pxe dhcp3-server
- Serveur TFTP :
Le fichier : /etc/default/tftpd-hpa
#Defaults for tftpd-hpa RUN_DAEMON="yes" OPTIONS="-l -s /media/data/tftpboot/"
- Serveur PXE :
Le fichier /etc/pxe.conf , il indique sur quelle interface réseau les clients vont devoir faire la requête.
# which interface to use interface=br0 default_address=10.5.1.1 # the multicast ip address to listen on # multicast_address=224.0.1.2 # mtftp info mtftp_address=224.1.5.1 mtftp_client_port=1758 mtftp_server_port=1759 # the port to listen on listen_port=4011 # enable multicast? use_multicast=1 # enable broadcast? use_broadcast=0 # user prompt prompt=Press F8 to view menu ... prompt_timeout=1 # what services to provide, priority in ordering # CSA = Client System Architecture # service=<CSA>,<min layer>,<max layer>,<basename>,<menu entry> service=X86PC,0,0,local,Local boot service=X86PC,0,0,pxelinux,PXELinux # tftpd base dir tftpdbase=/tftpboot # domain name domain=dom-sln.local
Récupérez l’archive suivante netboot.tar.gz qui contient des images et configurations toutes prêtes pour un boot réseau ! Décompressez cette archive dans votre répertoire « tftpboot », en l’occurence chez moi :
/media/data/tftpboot
Share on Facebook
One Response
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.
Good brief and this post helped me alot in my college assignement. Thanks you for your information.