LTSP – UP and Running..
Setup LTSP – Remote Boot PXE Enabled Thin Clients or PXE enabled PC/Laptops
We would first install the Required applications step by step and then configure them later.
- 1.Install the Regular Ubuntu Desktop Distro, I am using ubuntu 9.04 for this howto.
- 2.Once Installed, update the distro and install all the necessary updates.
- 3.Once Done Install NFS kernel Server via this Command : sudo apt-get install nfs-kernel-server
- 4.Install the DHCP SERVER on the same machine,make sure there is only one dhcp server running on the network else.it will cause a conflict.
- 5.Set a static ip to the machine via /etc/network/interfaces file – i am using 192.168.0.1 as SERVER ip for this HOWTO.
- 6.Now install the server module for LTSP running this command on terminal : – sudo apt-get install ltsp-server-standalone openssh-server ( this would install the LTSP Server and the openssh on the desktop.
- 7.Now Create your Thin Client environment on the server with this command: sudo ltsp-build-client
- The First command installs the LTSP SERVER and the Second command installs the module that will provide/create the environment to run the remote disk less machines. ( Please be patient, the client module takes time to install as it fetches about 150 MB of files from the repos. )
Once the client installation is done run these 2 commands to create the ssh keys
sudo ltsp-update-sshkeys
sudo ltsp-update-image
Be sure to do it in that order.
We are now done with the installation. now comes the configuration part.
- Open the /etc/default/tftpd-hpa and edit first line Run_Daemon to “Yes” in place of NO.Save and Exit.
- Now Open the /etc/ltsp/dhcpd.conf and change some values to the file as below.uncomment value next-server and put the server ip infromt of it ( next-server 192.168.0.1; )
- add these two values below that :
- allow booting;
- allow bootp;
- now go to the last line of the dhcpd.conf and it has a default value : filename ( ”/ltsp/i386/nbi.img”; ) change that to ( filename “pxelinux.0″; )
- Once done save and exit and restart the dhcp server /etc/init.d/dhcp3-server restart
- Once done now u can just Boot the diskless workstations and it should aautomatically find the dhcp server get an IP address and load the Remote OS. and Login.
Advertisement
Posted on April 1, 2010, in Linux. Bookmark the permalink. Leave a Comment.
Leave a Comment
Comments (0)