wiki:minilightclient

Instrucciones para construir una imagen mínima de cliente ligero en Trusty (15.05)

Hay que estar en 32 bits

  • mkdir mini-light-client
  • sudo debootstrap --no-check-gpg trusty mini-light-client http://lliurex.net/pre-trusty
  • sudo mount -o bind /dev mini-light-client/dev
  • sudo mount -o bind /sys mini-light-client/sys
  • sudo mount -o bind /proc mini-light-client/proc
  • sudo chroot mini-light-client
  • echo "deb http://archive.ubuntu.com/ubuntu/ trusty main universe restricted multiverse" >> /etc/apt/sources.list
  • apt-get update
  • apt-get install localepurge
  • Seleccionar en_US.utf-8 en la lista
  • apt-get install ltsp-client
  • apt-get install ldm-lliurex-theme
  • apt-get install lmd-client epoptes-client
  • apt-get install ntp
  • apt-get install ldap-auth-client
  • ( no importan los datos de configuracion )
  • apt-get purge samba-common
  • apt-get install linux-image-generic
  • No instalar grub en ningún dispositivo
  • /usr/share/ltsp/update-kernels
  • cp /usr/share/zoneinfo/Europe/Madrid /etc/timezone
  • apt-get autoremove
  • apt-get clean
  • echo "deb http://lliurex.net/trusty trusty main" > /etc/apt/sources.list
  • apt-get update
  • ln -s /boot/initrd.img-*-generic /boot/initrd.img
  • ln -s /boot/vmlinuz-*-generic /boot/vmlinuz
  • rm -rf /usr/share/doc/* /usr/share/man/*
  • rm -rf /var/lib/apt/lists/lliurex*
  • exit
  • mkdir -p mini-light-client/usr/share/locale/ca_ES@valencia/LC_MESSAGES/
  • Los siguientes ficheros deberian estar en un servidor:
  • sudo cp /usr/share/locale/ca_ES@valencia/LC_MESSAGES/ldm.mo mini-light-client/usr/share/locale/ca_ES@valencia/LC_MESSAGES/
  • sudo cp /usr/share/locale/es/LC_MESSAGES/ldm.mo mini-light-client/usr/share/locale/es/LC_MESSAGES/
  • sudo cp /etc/ldap.conf mini-light-client/etc/ldap.conf
  • sudo cp /etc/ldap/ldap.conf mini-light-client/etc/ldap/ldap.conf
  • sudo cp /etc/nsswitch.conf mini-light-client/etc/nsswitch.com
  • sudo chroot mini-light-client
  • locale-gen es_ES.UTF-8
  • locale-gen ca_ES.UTF-8@valencia
  • exit
  • sudo umount mini-light-client/proc
  • sudo umount mini-light-client/dev
  • sudo umount mini-light-client/sys
  • sudo tar cf mini-light-client.tar mini-light-client
  • sudo lzma -9 mini-light-client.tar
Last modified 17 months ago Last modified on Jan 25, 2016, 11:25:14 AM