informatica:linux:imagen
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | informatica:linux:imagen [2015/04/13 20:19] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | http:// | ||
+ | http:// | ||
+ | |||
+ | http:// | ||
+ | |||
+ | http:// | ||
+ | |||
+ | FAI | ||
+ | |||
+ | 1. Descargar e instalar los siguientes paquetes fai desde http:// | ||
+ | |||
+ | fai-doc | ||
+ | |||
+ | fai-client | ||
+ | |||
+ | cfengine2 | ||
+ | |||
+ | Writing private key to / | ||
+ | Writing public key to / | ||
+ | |||
+ | fai-server | ||
+ | |||
+ | debootstrap | ||
+ | |||
+ | fai-kernels | ||
+ | |||
+ | fai-quickstart | ||
+ | |||
+ | [Simple examples copied to config space / | ||
+ | |||
+ | dhcp3-server | ||
+ | |||
+ | dhcp3-common | ||
+ | |||
+ | [Volver a instalar dhcp3-server para configurarlo. Aunque al final genere un error, vale] | ||
+ | |||
+ | nfs-kernel-server | ||
+ | |||
+ | syslinux | ||
+ | |||
+ | tftpd-hpa | ||
+ | |||
+ | apt-move | ||
+ | |||
+ | dash | ||
+ | |||
+ | 2. Crear un espejo de debian | ||
+ | |||
+ | 2.1 (En servidor externo) Recibo las claves | ||
+ | |||
+ | gpg --recv-keys 6070D3A1 | ||
+ | |||
+ | 2.2 (En servidor externo) Exporto las claves | ||
+ | |||
+ | gpg --export 6070D3A1 > 6070D3A1.gpg | ||
+ | gpg --export-secret-key 6070D3A1 >> 6070D3A1.gpg | ||
+ | |||
+ | Lo segundo parece no hacer nada | ||
+ | |||
+ | 2.3 Descargo a local el fichero 6070D3A1.gpg | ||
+ | |||
+ | 2.4 Importo las claves desde ese fichero: | ||
+ | |||
+ | gpg --import 6070D3A1.gpg | ||
+ | |||
+ | 2.5 Creo el espejo: | ||
+ | |||
+ | debmirror --dist=testing -v -p --debug --nosource --progress --method=hftp -h=ftp.es.debian.org / | ||
+ | |||
+ | 3. Crear acceso vía http al espejo local Debian | ||
+ | |||
+ | 3.1 Instalar Apache2 (ya lo tengo instalado) | ||
+ | |||
+ | 3.2 ln -s / | ||
+ | |||
+ | 4. Copio ejemplo de sources.list | ||
+ | |||
+ | 4.1 cd / | ||
+ | |||
+ | 4.2 cp sources.list / | ||
+ | |||
+ | 5. Descargar e instalar fai-quickstart (ver paso 1) | ||
+ | |||
+ | 6.Revisar / | ||
+ | |||
+ | FAI_DEBOOTSTRAP=" | ||
+ | |||
+ | NFSROOT_ETC_HOSTS (no hace falta si los clientes tienen acceso a su servidor DNS) | ||
+ | |||
+ | / | ||
+ | |||
+ | KERNELPACKAGE=/ | ||
+ | |||
+ | NFSROOT_PACKAGES (obsoleta, comentar esta linea) | ||
+ | |||
+ | Comentar las linas de la variable ' | ||
+ | |||
+ | 7. Revisar / | ||
+ | |||
+ | FAI_LOCATION=/ | ||
+ | |||
+ | NFSROOT=/ | ||
+ | |||
+ | 8. Revisar / | ||
+ | |||
+ | # These are some examples for the sources.list file. Use only one | ||
+ | |||
+ | # segment for your sources.list file. If these entries do not work, | ||
+ | |||
+ | # try apt-setup(8) to create a working sources.list file. | ||
+ | |||
+ | # replace SUITE by the name of the distribution (eg. woody, sarge, sid) | ||
+ | |||
+ | # replace FTPSERVER or FAISERVER by the host name of your mirror server | ||
+ | |||
+ | # ftp access, only a few mirrors are available for security packages | ||
+ | |||
+ | deb ftp:// | ||
+ | |||
+ | #deb ftp:// | ||
+ | |||
+ | deb ftp:// | ||
+ | |||
+ | # http access to the Debian mirror on the faiserver. Its setup is | ||
+ | |||
+ | # described in the fai guide. | ||
+ | |||
+ | deb http:// | ||
+ | |||
+ | #deb http:// | ||
+ | |||
+ | deb http:// | ||
+ | |||
+ | # nfs access (mirror created by mkdebmirror) | ||
+ | |||
+ | # don't forget to set FAI_DEBMIRROR and MNTPOINT in fai.conf | ||
+ | |||
+ | deb file:/ | ||
+ | |||
+ | #deb file:/ | ||
+ | |||
+ | deb file:/ | ||
+ | |||
+ | 9. Ejecutar fai-setup (+-12' | ||
+ | |||
+ | ok | ||
+ | |||
+ | Se han añadido algunas lineas a / | ||
+ | |||
+ | Creo que la ' | ||
+ | |||
+ | IMPORTANTE: cada cambio que se realice en / | ||
+ | |||
+ | Si solo se quiere recompilar el kernel: | ||
+ | |||
+ | make-fai-nfsroot -k | ||
+ | |||
+ | 10. Establecer los grupos de usuarios (lo obvio, porque quiero instalar desde CD) | ||
+ | |||
+ | 11. Crear cd | ||
+ | |||
+ | fai-cd | ||
+ | |||
+ | Descargar imagen de ejemplo en: | ||
+ | |||
+ | http:// |
informatica/linux/imagen.txt · Last modified: 2015/04/13 20:19 by 127.0.0.1