Product SiteDocumentation Site

Chapitre 11. Préparer un serveur d'installation

11.1. Préparer cobbler
11.2. Préparer la distribution
11.3. Mirroring a Network Location
11.4. Importer la distribution
11.5. Manually configure a PXE server
11.5.1. Setting up the Network Server
11.5.2. PXE Boot Configuration
11.5.3. Adding PXE Hosts
11.5.4. TFTPD
11.5.5. Configuration du serveur DHCP
11.5.6. Adding a Custom Boot Message
11.5.7. Performing the PXE Installation

Expérience Requise

Cet appendice est destiné aux utilisateurs ayant déjà une certaine expérience avec Linux. Si vous êtes un nouvel utilisateur, vous devriez vouloir installer en utilisant un média de démarrage minimal ou la distribution DVD à la place.

Warning

The instructions in this appendix configures an automated install server. The default configuration includes destruction of all existing data on all disks for hosts that install using this method. This is often different from other network install server configurations which may provide for an interactive installation experience.
Fedora allows for installation over a network using the NFS, FTP, or HTTP protocols. A network installation can be started from a boot CD-ROM, a bootable flash memory drive, or by using the askmethod boot option with the Fedora CD #1 or DVD. Alternatively, if the system to be installed contains a network interface card (NIC) with Pre-Execution Environment (PXE) support, it can be configured to boot from files on another networked system rather than local media such as a CD-ROM.
For a PXE network installation, the client's NIC with PXE support sends out a broadcast request for DHCP information. The DHCP server provides the client with an IP address, other network information such as name server, the IP address or hostname of the tftp server (which provides the files necessary to start the installation program), and the location of the files on the tftp server. This is possible because of PXELINUX, which is part of the syslinux package.
In the past, administrators needed to perform a great deal of manual configuration to produce an installation server. However, if you have a Red Hat Enterprise Linux, CentOS, or Fedora server on your local network, you can use cobbler to perform these tasks. To configure a PXE server manually, see Section 11.5, « Manually configure a PXE server ».
Pour effectuer les tâches décrites dans cette section, connectez-vous au compte root avec la commande su -. Sinon, vous pouvez lancer une commande en utilisant l'option -c, en utilisant la forme su -c 'command'.

11.1. Préparer cobbler

Pour installer cobbler utilisez la commande suivante
yum -y install cobbler
La commande cobbler peut vérifier la validité de ses propres paramètres et rapporter les résultats. Lancer la commande suivante pour vérifier les paramètres :
cobbler check
Changer les paramètres dans le fichier /var/lib/cobbler/settings pour refléter les informations d'adressage IP pour le serveur. Vous devez au moins changer les options, server et next_server, même si ces options désignent la même adresse IP.
Si vous n'utilisez pas déjà un serveur DHCP, vous devrez également changer l'option manage_dhcp à 1. Si vous utilisez un serveur DHCP, configurez le conformément aux informations trouvées dans la documentation du paquet syslinux. Pour plus d'informations, consultez vos fichiers locaux /usr/share/doc/syslinux-version/syslinux.doc et /usr/share/doc/syslinux-version/pxelinux.doc.