Outils pour utilisateurs

Outils du site


serveur_pxe_centos_5

Packages à installer

Serveur tftp

yum install tftp-server 

Editer le fichier /etc/xinetd.d/tftp et passer l'option disable à no

service tftp
{
        socket_type             = dgram
        protocol                = udp
        wait                    = yes
        user                    = root
        server                  = /usr/sbin/in.tftpd
        server_args             = -s /tftpboot
        disable                 = no
        per_source              = 11
        cps                     = 100 2
        flags                   = IPv4
}

Lancer le super démon xinetd

service xinetd restart

Installer syslinux

yum install syslinux

Paramétrage

Recopier les fichiers syslinux pour mise à disposition via tftp dans le répertoire /tftpboot

cp /usr/lib/syslinux/pxelinux.0 /tftpboot
cp /usr/lib/syslinux/menu.c32 /tftpboot
cp /usr/lib/syslinux/memdisk /tftpboot
cp /usr/lib/syslinux/mboot.c32 /tftpboot
cp /usr/lib/syslinux/chain.c32 /tftpboot

Créer les répertoires selon les différentes version de CentOS souhaitées. Ici les version 5 et 6 en 32 et 64 bits

mkdir -p /tftpboot/images/centos/i386/5
mkdir -p /tftpboot/images/centos/x86_64/5
mkdir -p /tftpboot/images/centos/i386/6
mkdir -p /tftpboot/images/centos/x86_64/6
serveur_pxe_centos_5.txt · Dernière modification: 2012/08/11 13:54 par admin