Skip to main content

Setting UP LTSP 5 on Ubuntu 8.04

When you set up LTSP on Ubuntu 8.04 you will notice that it is very easy to get going in LTSP 5. Most of the configuration is automatically done for you. Install the Ubuntu 8.04.1 Desktop CD. You must have a graphical interface running on the server to be provided for the clients. Once you have installed the Desktop, be sure your network is set to operate on a static IP Address. Next you will need to install several programs required for the ltsp setup.

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

Create your Thin Client environment on the server with this command:

$ sudo ltsp-build-client

Update the Desktop System

$ sudo apt-get update

$ sudo apt-get upgrade

Configure DHCP

You will supply IP Addresses to the thin clients using DHCP. The file you want to edit is /etc/ltsp/dhcpd.conf. Note this is not the normal dhcpd.conf file that you would edit, this is a special file for LTSP only.

Here is a partial example file. The first line ensures that clients will use this DHCP server:

authoritative;

The subnet is declared with the network and netmask:

subnet 192.168.7.0 netmask 255.255.255.0 {

The next line which is indented is the range that your DHCP server will supply. So on this network example you could have static IP Addresses from 192.168.7.1-192.168.7.124 and then the range will define what dynamic IPs will be supplied by the DHCP server.

range 192.168.7.125 192.168.7.246;

It is a good idea to provide a DNS server for the clients:

option domain-name-servers 12.32.34.32;

Define the broadcast address:

option broadcast-address 192.168.7.255;

The optional router will also be the gateway for your network:

option routers 192.168.7.2;

Now you can set up individual diskless workstations. In these examples the hostname for the workstation is declared:

host ws205 {

Because you want to declare these hosts it is important that you modify your /etc/hosts file so the workstation is listed there. Here the workstation number is tied to the IP Address on the network so that it is easy to trouble shoot as you know right where to go to fix either a network problem or a hardware issue.
---cut---

ws202 192.168.7.202

ws203 192.168.7.203

ws205 192.168.7.205

ws206 192.168.7.206

---cut---

The hardware MAC address for each network card is listed so that you can tie the IP to a specific diskless workstation.

hardware ethernet 00:13:90:00:D7:8F;

The fixed IP Address is noted.

Fixed-address 192.168.7.205;

Finally a location to get the image for the diskless workstation is provided.

filename "/ltsp/i386/pxelinux.0";

That is the configuration for the clients as they will boot

#

# Default LTSP dhcpd.conf config file.

#

authoritative;

subnet 192.168.7.0 netmask 255.255.255.0 {

range 192.168.7.125 192.168.7.246;

option domain-name-servers 12.32.34.32;

option broadcast-address 192.168.7.255;

option routers 192.168.7.2;


host ws205 {

hardware ethernet 00:13:90:00:D7:8F;

fixed-address 192.168.7.205;

filename "/ltsp/i386/pxelinux.0";

}

host ws247 {

hardware ethernet 00:13:90:00:67:AF;

fixed-address 192.168.7.247;

filename "/ltsp/i386/pxelinux.0";

---cut---


When you have finished restart the server. Run these commands to update your ssh keys.

$ sudo ltsp-update-sshkeys
$ sudo ltsp-update-image

Be sure to do it in that order.


Comments

Popular posts from this blog

How to install Skype on Ubuntu 10.04 Lucid Lynx

UPDATE: Skype has now been uploaded to the "partner" official Ubuntu 10.04 Lucid Lynx repository. See Install Skype in Ubuntu 10.04 Lucid Lynx from official partner repository Command Line way Get the package: For 32-bit $ wget http://www.skype.com/go/getskype-linux-beta-ubuntu-32 For 64-bit $ wget http://www.skype.com/go/getskype-linux-beta-ubuntu-64 You will need to install the following libraries. $ sudo apt-get install libqt4-dbus libqt4-network libqt4-xml libasound2 Now install skype(the file u just downloaded, may be named intrepid-ibex) $ sudo dpkg -i skype-XXXXXXXXXXXX.deb If you still get some dependency error then just type the command below $ sudo apt-get -f install this will install the dependencies and the skype. Non - Terminal Download the setup 32 -bit 64 -bit You will these packages: libqt4-dbus libqt4-network libqt4-xml . Goto Synaptic manager and install them. Now Launch the Skype install .deb file (just double click it) and follow the on screen prompts....

gtalx: Howto Gtalk in ubuntu ( google talk )

Did you fail to use " gtalk in ubuntu " ... Now you can chat and talk to your gmail buddies in ubuntu... 1. check for gtk2.0 and qt4 $ sudo apt-get install libgtk2.0-dev $ sudo apt-get install libqt4-dev libogg-dev libtheora-dev $ sudo apt-get install libsdl-dev libavcodec-dev libswscale-dev $ sudo apt-get install libexpat-dev libraw1394-dev libvorbis-dev $ sudo apt-get install libgsm1-dev  libspeexdsp-dev libmediastreamer0-dev libortp-dev 2. Remove 'pulse audio sound server' Open synaptic package manager and remove pulse audio 3. "Download gtalx" from here Dowload it here 4. Extract the file.... $ tar -zxvf 0.0.4.tar.gz 5. Get into the directory.... $ cd 0.0.4 and then... $ sudo chmod u+x make $ ./make $ sudo ./make install 6. Enjoy..... Please comment about your installation(whether it was a success or not....) Take gtalx from Applications > Internet > gtalx Enter your gmail login information..and click connect... ...

How to install Skype on Ubuntu 9.10 Karmic Koala

The two methods  below doesn't work now. Please see http://blog.dipinkrishna.info/2009/11/how-to-download-and-install-skype-for_3060.html for a successfull installation of skype on ubuntu. I have provided two methods. Please do comment which one is successful. Follow these steps to install skype in ubuntu 9.10 (64 bit).         First add:             deb http://packages.medibuntu.org/ karmic free non-free         to your source.list Now open a terminal and type: $ sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list Then do an update: $ sudo apt-get update $ sudo apt-get --yes -q --allow-unauthenticated install medibuntu-keyring $ sudo apt-get -q update And finally install Skype. $ sudo apt-get install skype Ready ... now start skype with $ skype OR Download the setup 32 -bit 64 -bit Launch the Skype i...