aquaballoon

LTSP - Thin Clients Server

Oct 21st, 2013
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.04 KB | None | 0 0
  1. http://www.thefanclub.co.za/how-to/how-create-ubuntu-1104-x64-ltsp-server-32bit-thin-clients
  2. http://www.havetheknowhow.com/Configure-the-server/Configure-LTSP.html
  3. http://www.havetheknowhow.com/Configure-the-server/Install-LTSP.html
  4. https://help.ubuntu.com/community/ThinClientHowto
  5.  
  6.  
  7. ---------> Setup LTSP server
  8. sudo apt-get install ltsp-server
  9. #sudo apt-get install ltsp-server-standalone
  10.  
  11. sudo ltsp-build-client --arch i386
  12.  
  13. sudo cp /etc/apt/sources.list /opt/ltsp/i386/etc/apt/sources.list
  14. export LTSP_HANDLE_DAEMONS=false
  15. sudo chroot /opt/ltsp/i386
  16. mount -t proc proc /proc
  17. apt-get update
  18. apt-get upgrade
  19. apt-get install ubuntu-desktop
  20. apt-get install firefox flashplugin-installer ubuntu-restricted-extras vlc chromium-browser libreoffice
  21.  
  22. useradd -m adminusername -G sudo
  23. passwd adminusername
  24. visudo
  25. adminusername ALL=(ALL) ALL  ## after the "%sudo ALL=(ALL) ALL" line
  26. exit
  27.  
  28. sudo umount /opt/ltsp/i386/proc
  29. sudo ltsp-update-sshkeys
  30. sudo ltsp-update-kernels
  31. sudo ltsp-update-image --arch i386
  32.  
  33. # /opt/ltsp/i386/
  34. # /var/lib/tftpboot/ltsp/i386
  35.  
  36. $ sudo apt-get install tftpd-hpa inetutils-inetd
  37.  
  38. $ sudo nano /etc/inetd.conf
  39. tftp    dgram   udp    wait    root    /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /var/lib/tftpboot/ltsp/i386
  40.  
  41. $ sudo nano /etc/default/tftpd-hpa
  42. TFTP_USERNAME="tftp"
  43. TFTP_DIRECTORY="/var/lib/tftpboot/ltsp/i386"
  44. TFTP_ADDRESS="0.0.0.0:69"
  45. TFTP_OPTIONS="--secure"
  46.  
  47. $ sudo service inetutils-inetd restart
  48. $ sudo service tftpd-hpa restart
  49.  
  50. --------> Setup DHCP server
  51. sudo nano dhcpd.conf
  52. subnet 192.168.4.0 netmask 255.255.252.0 {
  53.     filename "pxelinux.0";
  54.     option root-path "/opt/ltsp/i386";
  55.     next-server 202.179.30.30;
  56.     option broadcast-address 192.168.7.255;
  57.     option routers 192.168.5.1;
  58.     option subnet-mask 255.255.252.0;
  59.     option domain-name-servers 202.179.0.106;
  60.     range 192.168.4.1 192.168.4.255;
  61.     range 192.168.5.41 192.168.7.254;
  62.     default-lease-time 21600;
  63.     max-lease-time 43200;
  64.     }
  65.  
  66. ------------>
  67. Possible Issue – Ubuntu LTSP Clients Dropping to Busybox Shell
  68.  
  69. $ service nbd-server restart
Advertisement
Add Comment
Please, Sign In to add comment