Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
75 views5 pages

Fachini 19/05/2009 10:53:52 Resolvida Bodipasa Fachini 0 Telefone Não Definido Instalar Novo Servidor LTSP - Rs E SP Serviço-Adm Ti 99-Naodefinido

Download as pdf or txt
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 5

Tarefa: 240883 Quem Registrou: FACHINI Data do Registro: 19/05/2009 10:53:52 Situação: Resolvida

Cliente: BODIPASA Contato: FACHINI Prioridade: 0 Origem: Telefone Versão: Não Definido

Descrição: Instalar novo servidor LTSP - RS e SP

Modulo: SERVIÇO-ADM TI Solução: 99-NaoDefinido

Solução
Instalar Debian em sistema basico, e seguir procedimentos abaixo:

# aptitude install ltsp-server-standalone


# ltsp-build-client

# vim /etc/apti
- /opt/ltsp *(ro,no_root_squash,async,no_subtree_check)

# vim /etc/inetd.conf
- #:BOOT: TFTP service is provided primarily for booting. Most sites
-# run this only on machines acting as "boot servers."
- tftp dgram udp wait root /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /var/lib/tftpboot
- #:OTHER: Other services
- 9571 stream tcp nowait nobody /usr/sbin/tcpd /usr/sbin/ldminfod
- 9572 stream tcp nowait nobody /usr/sbin/tcpd /usr/sbin/nbdswapd

# vim /etc/hosts.allow
- nbdrootd: ALL: keepalive

# vim /etc/default/tftpd-hpa
- #Defaults for tftpd-hpa
- RUN_DAEMON="yes"
- OPTIONS="-l -s /var/lib/tftpboot"

# vim /etc/sysctl.conf
- net.ipv4.ip_forward=1

# vim /etc/ltsp/dhcpd.conf
- Alterar de acordo com a rede
- Criar um link para /etc/dhcp3/dhcpd.conf
-- mv dhcpd.conf dhcpd.conf.original
-- ln -s /etc/ltsp/dhcpd.conf ./

# cd /opt/ltsp/i386/etc/
- mv lts.conf lts.conf.original
#vim /opt/ltsp/i386/etc/lts.conf

Área Técnica
# aptitude install ltsp-server-standalone
# ltsp-build-client

Página 1/5
# vim /etc/exports
- /opt/ltsp *(ro,no_root_squash,async,no_subtree_check)

# vim /etc/inetd.conf
- #:BOOT: TFTP service is provided primarily for booting. Most sites
-# run this only on machines acting as "boot servers."
- tftp dgram udp wait root /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /var/lib/tftpboot
- #:OTHER: Other services
- 9571 stream tcp nowait nobody /usr/sbin/tcpd /usr/sbin/ldminfod
- 9572 stream tcp nowait nobody /usr/sbin/tcpd /usr/sbin/nbdswapd

# vim /etc/hosts.allow
- nbdrootd: ALL: keepalive

# vim /etc/default/tftpd-hpa
- #Defaults for tftpd-hpa
- RUN_DAEMON="yes"
- OPTIONS="-l -s /var/lib/tftpboot"

# vim /etc/sysctl.conf
- net.ipv4.ip_forward=1

# vim /etc/ltsp/dhcpd.conf
- Alterar de acordo com a rede
- Criar um link para /etc/dhcp3/dhcpd.conf
-- mv dhcpd.conf dhcpd.conf.original
-- ln -s /etc/ltsp/dhcpd.conf ./

# cd /opt/ltsp/i386/etc/
- mv lts.conf lts.conf.original
#vim /opt/ltsp/i386/etc/lts.conf

---------------------------------------------------------------
http://wiki.debian.org/LTSP/Howto
http://www.ltsp.org/~sbalneav/LTSPManual.html

------------------------------------------------
SCREEN_02 = rdesktop
RDP_SERVER = 192.168.8.151
RDP_OPTIONS = -a 16

------------------------------
http://www.ltsp.org/twiki/bin/view/Ltsp/Rdesktop

Página 2/5
link simbolico de: /opt/ltsp/i386/usr/share, para: /opt/ltsp/i386/usr/local/share

-------------------------------
Debian LTSP

1.Download and install the latest Debian release.

2.If you have a DHCP server already up and running on your network:

apt-get install ltsp-server openssh-server

Otherwise, if you want your LTSP server to function as the DHCP server:

apt-get install ltsp-server-standalone openssh-server

3.Build the LTSP client environment:

ltsp-build-client

If you're installing a different Debian distribution than what's on the server, you will need to specify the --dist xxx command line option. where xxx
is your Debian distribution (e.g. lenny, etch). See /usr/share/debootstrap/scripts/.

ltsp-build-client will download a complete Debian filesystem into /opt/ltsp/i386 (or specify an alternate location with '--base') and install the
ltsp-client and ldm packages (the LTSP Display Manager). Typically, you will need a desktop environment like gnome or XFCE, or a window
manager such as IceWM installed on the server (NOT in the chroot).

The 2 ltsp configuration files inside the client are /etc/lts.conf and /etc/default/ltsp-client-setup. See the examples in /usr/share/doc/ltsp-client

See customizing thin client behaviour (note: Debian LTSP still uses NFS by default).

If you change the IP data after you have done the initial setup and run ltsp-update-sshkeys on the server.

The files the client will boot are installed on the server into/var/lib/tftpboot.

4.Configure /etc/dhcp3/dhcpd.conf:

See examples in /usr/share/doc/ltsp-server/examples/dhcpd.conf or /etc/ltsp/dhcpd.conf and adapt to your network.

Restart dhcp3-server:

invoke-rc.d dhcp3-server restart

Alternately, configure /etc/dnsmasq.conf:

See example in /usr/share/doc/ltsp-server/examples/dhcpd-dnsmasq and adapt to your network.

Página 3/5
Restart dnsmasq:

invoke-rc.d dnsmasq restart

5.Configure /etc/exports:

/opt/ltsp *(ro,no_root_squash,async,no_subtree_check)

6.Start tftpd. By default, tftpd-hpa is started from inetd. you may need to restart inetd after installing tftpd-hpa.

invoke-rc.d openbsd-inetd restart

Alternately, edit /etc/default/tftpd-hpa to have tftpd-hpa start on its own.

RUN_DAEMON="yes"

and restart tftpd-hpa

invoke-rc.d tftpd-hpa restart

7.Boot a PXE or Etherboot capable machine and enjoy. note that some older versions of Etherboot do not support ELF images, and may not work
without additional configuration.

Testes
==> /var/log/daemon.log <==
May 27 14:51:22 localhost dhcpd: DHCPDISCOVER from 00:0c:29:ce:e7:6f via eth0

==> /var/log/syslog <==


May 27 14:51:22 localhost dhcpd: DHCPDISCOVER from 00:0c:29:ce:e7:6f via eth0

==> /var/log/daemon.log <==


May 27 14:51:23 localhost dhcpd: DHCPOFFER on 192.168.8.60 to 00:0c:29:ce:e7:6f via eth0

==> /var/log/syslog <==


May 27 14:51:23 localhost dhcpd: DHCPOFFER on 192.168.8.60 to 00:0c:29:ce:e7:6f via eth0

==> /var/log/daemon.log <==


May 27 14:51:24 localhost dhcpd: DHCPREQUEST for 192.168.8.60 (192.168.8.201) from 00:0c:29:ce:e7:6f via eth0
May 27 14:51:24 localhost dhcpd: DHCPACK on 192.168.8.60 to 00:0c:29:ce:e7:6f via eth0
May 27 14:51:24 localhost in.tftpdé3578ê: tftp: client does not accept options

==> /var/log/syslog <==


May 27 14:51:24 localhost dhcpd: DHCPREQUEST for 192.168.8.60 (192.168.8.201) from 00:0c:29:ce:e7:6f via eth0

Página 4/5
May 27 14:51:24 localhost dhcpd: DHCPACK on 192.168.8.60 to 00:0c:29:ce:e7:6f via eth0
May 27 14:51:24 localhost in.tftpdé3578ê: tftp: client does not accept options

==> /var/log/daemon.log <==


May 27 14:51:46 localhost dhcpd: DHCPDISCOVER from 00:0c:29:ce:e7:6f via eth0
May 27 14:51:46 localhost dhcpd: DHCPOFFER on 192.168.8.60 to 00:0c:29:ce:e7:6f via eth0
May 27 14:51:46 localhost dhcpd: DHCPREQUEST for 192.168.8.60 (192.168.8.201) from 00:0c:29:ce:e7:6f via eth0
May 27 14:51:46 localhost dhcpd: DHCPACK on 192.168.8.60 to 00:0c:29:ce:e7:6f via eth0

==> /var/log/syslog <==


May 27 14:51:46 localhost dhcpd: DHCPDISCOVER from 00:0c:29:ce:e7:6f via eth0
May 27 14:51:46 localhost dhcpd: DHCPOFFER on 192.168.8.60 to 00:0c:29:ce:e7:6f via eth0
May 27 14:51:46 localhost dhcpd: DHCPREQUEST for 192.168.8.60 (192.168.8.201) from 00:0c:29:ce:e7:6f via eth0
May 27 14:51:46 localhost dhcpd: DHCPACK on 192.168.8.60 to 00:0c:29:ce:e7:6f via eth0

==> /var/log/daemon.log <==


May 27 14:51:47 localhost dhcpd: DHCPREQUEST for 192.168.8.60 (192.168.8.201) from 00:0c:29:ce:e7:6f via eth0
May 27 14:51:47 localhost dhcpd: DHCPACK on 192.168.8.60 to 00:0c:29:ce:e7:6f via eth0
May 27 14:51:47 localhost mountdé2345ê: authenticated mount request from 192.168.8.60:941 for /opt/ltsp/i386 (/opt/ltsp)

==> /var/log/syslog <==


May 27 14:51:47 localhost dhcpd: DHCPREQUEST for 192.168.8.60 (192.168.8.201) from 00:0c:29:ce:e7:6f via eth0
May 27 14:51:47 localhost dhcpd: DHCPACK on 192.168.8.60 to 00:0c:29:ce:e7:6f via eth0
May 27 14:51:47 localhost mountdé2345ê: authenticated mount request from 192.168.8.60:941 for /opt/ltsp/i386 (/opt/ltsp)

Página 5/5

You might also like