[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Diferencias

Muestra las diferencias entre dos versiones de la página.

Enlace a la vista de comparación

Ambos lados, revisión anteriorRevisión previa
Próxima revisión
Revisión previa
Próxima revisiónAmbos lados, revisión siguiente
es:howtos:network_services:ipxe [2019/02/14 18:17 (UTC)] – [Assumptions and prerequisites] slackwarespanoles:howtos:network_services:ipxe [2019/02/14 18:20 (UTC)] – [Webserver setup] slackwarespanol
Línea 11: Línea 11:
    * El servidor web es www.mynetwork.com. La raíz del servidor web es '' /var/www/htdocs ''.    * El servidor web es www.mynetwork.com. La raíz del servidor web es '' /var/www/htdocs ''.
    * Necesitamos un kernel y un archivo initrd. Copie esto desde un CD de Slackware o un mirror.    * Necesitamos un kernel y un archivo initrd. Copie esto desde un CD de Slackware o un mirror.
-===== Configure DHCP and tftp server ===== +===== Configurar el servidor DHCP tftp ===== 
-Add following section to ''/etc/dnsmasq.conf'': +Agregue la siguiente sección a '' /etc/dnsmasq.conf '':
 <file . dnsmasq.conf> <file . dnsmasq.conf>
 # PXE booting: setup tftp server # PXE booting: setup tftp server
Línea 27: Línea 27:
 </file> </file>
  
-The first lines will activate the built-in tftp server and define the root folderThen a tag is set to determine if the boot request is coming from an iPXE clientIf the request is not coming from iPXE, the iPXE client itself is downloaded and executedIf the request came from iPXE, a boot script is downloaded from the webserver and executed.+Las primeras líneas activarán el servidor tftp incorporado y definirán la carpeta raízLuego, se establece una etiqueta para determinar si la solicitud de inicio proviene de un cliente iPXE. Si la solicitud no proviene de iPXE, el cliente iPXE se descarga y se ejecutaSi la solicitud proviene de iPXE, se descarga un script de arranque desde el servidor web y se ejecuta.
    
-The above section deals specifically with PXE bootingYou will also need to setup basic DHCP functionalitysee the [[howtos:network_services:dhcp_server_via_dnsmasq|DHCP server via dnsmasq]] article for thatTo activate dnsmasq, make sure script ''/etc/rc.d/rc.dnsmasq'' is executable.+La sección anterior trata específicamente con el arranque PXE. También necesitarás configurar la funcionalidad básica de DHCP; vea el artículo [[howtos: network_services: dhcp_server_via_dnsmasq | DHCP a través de dnsmasq]] para esoPara activar dnsmasq, asegúrese de que el script '' /etc/rc.d/rc.dnsmasq '' sea ejecutable.
  
-Create a new directory ''/srv/tftproot''Download the [[http://boot.ipxe.org/undionly.kpxe|undionly.kpxe]] file from the iPXE website and copy to the ''/srv/tftproot'' directoryThis is the iPXE client file which will be downloaded from the tftp server.+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 mirrorcopy the following files: ''isolinux/initrd.img'' and ''kernels/huge.s/bzImage'' into the pxe folderNow 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 Slackwarecopie los siguientes archivos: '' isolinux/initrd.img '' '' 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>
Línea 43: Línea 43:
 </file> </file>
  
-This is all that is needed to create a PXE boot serverThis is a very simple example that just boots the default huge installation kernelTo cater for more dynamic situationsyou 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 predeterminadoPara atender situaciones más dinámicastendrá que crear scripts de arranque más complejosMira la página de ejemplos en el sitio web de iPXE.
 ===== Complex scripts ===== ===== Complex scripts =====
 A more complex script with a boot menu is shown below:  A more complex script with a boot menu is shown below: 
 es:howtos:network_services:ipxe ()