1) Install basic packages:
Code: Select all
apt-get install openssh-server sudo molly-guard screen
Code: Select all
adduser <myuser> sudo
Code: Select all
apt-get install ltsp-server-standalone
It will ask you which folder you want to use as TFTP root-folder. The default is:
which is fine./srv/tftp
NOTE: Due to legacy reasons, LTSP-boot files are also copied the folder "/var/lib/tftpboot", automatically. Unfortunately, they're *real* copies of the files in /srv/tftp - which could lead to confusion during maintenance in the later lifetime of the LTSP-server.
Therefore, it makes sense to replace "/var/lib/tftpboot" with a symlink to "/var/tftp" in order to avoid accidential deltas in these 2 directories:
Code: Select all
cd /var/lib
rm -r tftpboot
ln -s /srv/tftp tftpboot
sudo ltsp-build-client
4) Configure audio (pulseaudio):
There's a great documentation about LTSP5-audio on bootpolish.net.
Install the required audio packages on the server:
Code: Select all
sudo apt-get install alsa-base alsa-utils libasound2-plugins pulseaudio pulseaudio-utils padevchooser pulseaudio-esound-compat
Code: Select all
pcm.!default {
type pulse
}
ctl.!default {
type pulse
}
On the client, the pulseaudio daemon configuration is automatically created by the "ltsp-build-client" command. The generated "/opt/ltsp/i386/etc/pulse/daemon.conf" looks somewhat like this:
Code: Select all
daemonize = 1
high-priority = 1
log-target = stderr
resample-method = trivial
no-cpu-limit = 1
system-instance = 1
disable-shm = 1
Add a line to "/etc/exports", which shares your "/opt/ltsp" folder via NFS to your network clients:
Code: Select all
/opt/ltsp 192.168.0.0/255.255.255.0(ro,no_root_squash,async,no_subtree_check)
Restart the NFS daemon to apply the configuration changes:
Code: Select all
sudo /etc/init.d/nfs-kernel-server restart
Code: Select all
cd ~
mkdir test-nfs
sudo mount -v <IP_of_ltsp_server>:/opt/ltsp test-nfs/
Code: Select all
sudo umount ~/test-nfs
6) Configure support for mounting local devices (e.g. USB sticks) on the thin clients:
Again, there's good documentation about LTSP5 and LocalDevices on bootpolish.net.
The most important things here are:
- Add "LOCALDEV=true" to your LTSP-client configuration in "/opt/ltsp/i386/etc/lts.conf".
- Make sure that users who will logon to the thin-clients are members of the group "fuse".
- Make sure that the "fuse" kernel module is loaded:
If that returns a line like this, you're fine:
Code: Select all
lsmod |grep fuse
fuse 44268 1 - Verify that the access rights for "/dev/fuse" allow r/w for the group "fuse". It should look like this:
crw-rw---- 1 root fuse 10, 229 23. Mai 09:56 /dev/fuse
Code: Select all
/etc/init.d/tftpd-hpa restart
/etc/init.d/isc-dhcp-server
