Aqui pretendemos fazer via
#apt-get install ltsp-server-standalone openssh-server
#ltsp-build-client - pacotes instalados
deb http://security.debian.org/ etch/updates main contrib deb http://ftp.br.debian.org/debian etch main contrib non-free
O que vira o LTSP0.99debian11 - pois no Packages.gz esta listado o 0.99...mas no repositorio ltsp se encontra também versões mais novas como a 5.0.39 - ai sim seria ltsp5...ou não? Ver como pegar os pacotes 5.0.XX dos repositorios oficiais.
Documento fonte principal sobre a instalação
http://wiki.debian.org/LTSP/Howto
Telas Capturadas
http://idsorocaba.ourproject.org/debian_etch_ltsp_server_standalone/
Configuração da Placa
Vamos aqui usar a eth1, configuração da eth1 fica deste jeito.
auto eth1
iface eth1 inet static
address 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
depois execute...
#/etc/init.d/networking restart
Configuração do DHCP3-Server
Para configurar o dhcp3-server, usamos o exemplo de configuração que esta:
/etc/ltsp/dhcpd.conf ou /usr/share/doc/ltsp-server/examples/dhcpd.conf
authoritative;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.20 192.168.0.250;
option domain-name "example.com";
option domain-name-servers 192.168.0.1;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
option subnet-mask 255.255.255.0;
if substring( option vendor-class-identifier, 0, 9 ) = "PXEClient" {
filename "/ltsp/i386/pxelinux.0";
}
else{
filename "/ltsp/i386/nbi.img";
}
option root-path "/opt/ltsp/i386";
}
e vamos colocar no nano /etc/dhcp3/dhcpd.conf
next-server 192.168.0.1;
authoritative;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.20 192.168.0.250;
option domain-name "ltsp";
option domain-name-servers 192.168.0.1;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
option subnet-mask 255.255.255.0;
if substring( option vendor-class-identifier, 0, 9 ) = "PXEClient" {
filename "/ltsp/i386/pxelinux.0";
}
else{
filename "/ltsp/i386/nbi.img";
}
option root-path "/opt/ltsp/i386";
}
a linha next-server 192.168.0.1; é colocado pois o etch é afetado pelo http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=416868
next-server ip.addres.of.server; - http://wiki.debian.org/LTSP/Howto
Configurar o exports
nano /etc/exports/opt/ltsp *(ro,no_root_squash,no_subtree_check)
Ligue os terminais e bom divertimento.