Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previaPróxima revisiónAmbos lados, revisión siguiente |
es:howtos:network_services:ipxe [2019/02/14 18:19 (UTC)] – [Configure DHCP and tftp server] slackwarespanol | es:howtos:network_services:ipxe [2019/02/14 18:21 (UTC)] – [Complex scripts] slackwarespanol |
---|
Cree un nuevo directorio '' /srv/tftproot ''. Descargue el archivo [[http://boot.ipxe.org/undionly.kpxe|undionly.kpxe]] desde el sitio web de iPXE y cópielo al directorio '' /srv/tftproot ''. Este es el archivo del cliente iPXE que se descargará del servidor tftp. | Cree un nuevo directorio '' /srv/tftproot ''. Descargue el archivo [[http://boot.ipxe.org/undionly.kpxe|undionly.kpxe]] desde el sitio web de iPXE y cópielo al directorio '' /srv/tftproot ''. Este es el archivo del cliente iPXE que se descargará del servidor tftp. |
| |
===== Webserver setup ===== | ===== Configuración del servidor web ===== |
Create a new folder ''/var/www/htdocs/pxe''. From the Slackware CD or mirror, copy the following files: ''isolinux/initrd.img'' and ''kernels/huge.s/bzImage'' into the pxe folder. Now create a new text file ''boot.txt'' with the following content: | Cree una nueva carpeta '' /var/www/htdocs/pxe ''. Desde el CD o espejo de Slackware, copie los siguientes archivos: '' isolinux/initrd.img '' y '' kernels/huge.s/bzImage '' en la carpeta pxe. Ahora cree un nuevo archivo de texto '' boot.txt '' con el siguiente contenido: |
| |
<file . boot.txt> | <file . boot.txt> |
</file> | </file> |
| |
This is all that is needed to create a PXE boot server. This is a very simple example that just boots the default huge installation kernel. To cater for more dynamic situations, you will have to create more complex boot scripts. Look at the examples page on the iPXE website. | Esto es todo lo que se necesita para crear un servidor de arranque PXE. Este es un ejemplo muy simple que simplemente inicia el gran núcleo de instalación predeterminado. Para atender situaciones más dinámicas, tendrá que crear scripts de arranque más complejos. Mira la página de ejemplos en el sitio web de iPXE. |
===== Complex scripts ===== | ===== Scripts complejos ===== |
A more complex script with a boot menu is shown below: | A continuación se muestra un script más complejo con un menú de arranque: |
| |
<file . boot.txt> | <file . boot.txt> |
chain ${mirror}/${dir}/${slackversion}/kernels/huge.s/bzImage ${args} ${extraargs} | chain ${mirror}/${dir}/${slackversion}/kernels/huge.s/bzImage ${args} ${extraargs} |
</file> | </file> |
| Tenga en cuenta que también puede usar una réplica pública de Slackware en lugar de alojar los archivos usted mismo. Si apunta a un espejo actual de slackware, ¡puede arrancar el kernel de instalación más reciente directamente desde Internet! |
Note that you can also use a public Slackware mirror instead of hosting the files yourself. If you point to a slackware current mirror, you can boot the latest installation kernel directly from the internet ! | |
| |
| |