0% found this document useful (0 votes)
220 views14 pages

How To Create A Ubuntu 12.04 x64 LTSP Server With 32bit Thin Clients

The document provides step-by-step instructions for setting up an Ubuntu 12.04 x64 LTSP server with thin clients. It describes how to configure the LTSP server, build client images, set up user accounts and thin client networking. Key steps include changing the IP address of the network adapter used for thin clients, installing the LTSP server packages, editing LTSP configuration files, building the client image, and booting a thin client from the server. The guide also provides optional steps for configuring fat clients and updating/autologin settings.

Uploaded by

raulrosique
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
220 views14 pages

How To Create A Ubuntu 12.04 x64 LTSP Server With 32bit Thin Clients

The document provides step-by-step instructions for setting up an Ubuntu 12.04 x64 LTSP server with thin clients. It describes how to configure the LTSP server, build client images, set up user accounts and thin client networking. Key steps include changing the IP address of the network adapter used for thin clients, installing the LTSP server packages, editing LTSP configuration files, building the client image, and booting a thin client from the server. The guide also provides optional steps for configuring fat clients and updating/autologin settings.

Uploaded by

raulrosique
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

The Fan Club

dynamic design
solutions
How to create a Ubuntu 12.04 x64 LTSP serer wi t! "2bit t!in
cl ients
This guide is based on the comprehensive LTSP documentation done by the Ubuntu Community
- Ubuntu Community Documentation - UbuntuLTSP
This gui de is intended as a relativel y easy step by step mostl y graphical
(GUI) guide to
Set up a basic Ubuntu LTSP server on Ubuntu !!"#$% !!"!# and !&"#$ '($ (($bit)
Con)igure Ubuntu *&bit thin- and )at clients +ith internet access"
Last updated !,-#$-&#!&
#e$uirements%
Ubuntu !!"#$-!!"!#-!&"#$ '($ machine +ith t+o net+or. adaptors to act as your main LTSP
server"
! ' /et+or. s+itch - hub
! ' 0outer +ith internet connection
Thin client computer" This can be any net+or. boot enabled machine% or a 1irtual machine li.e
1irtual2o'" See How to create a VirtualBox Ubuntu LTSP Thin Client"
Setu&%
Connect the Ubuntu !!"#$-!!"!# '($ machine to the internet on one net+or. adaptor" (in this case
a +i)i connection to internet)
Connect the other available net+or. adaptor to a /et+or. s+itch - hub" (This is +here thin clients
+ill connect)
Submitted by The 3an Club on 4ed% &#!!-#5-!* !&,&

1. '!ange your aailable networ( ada&tor )P to a *ixed entry.
6ost local net+or. already use the !7&"!(8"#"'' range o) IP addresses% but the de)ault install o)
LTSP relies on this range being available" In this tutorial +e +ill set up the LTSP net+or. on the
!7&"!(8"!"'' range"
9ou also need a separate net+or. adaptor +ith internet access during the install process"
The LTSP server install +ants to install it:s o+n ;<CP server% so i) you have a router +ith it: s
o+n ;<CP server it could cause con)licts i) in the same net+or. IP range"
So +hat to do is change your unused L=/ port:s IP address to a )i'ed IP in another IP range"
3or e'ample my setup has a router +ith a ;<CP server running on !7&"!(8"#"!% and provides the
Internet access on the system" I changed my other L=/ adaptor:s IP to !7&"!(8"!"! % this +ill be
used )or the LTSP net+or."
/>T? 3or some reason the ;<CP server does not +ant to start correctly on system startup i)
the net+or. adaptor:s IP is not set in the net+or. inter)aces con)ig )ile" (see !d" belo+)
1a. +o to ,etwor( 'onnections and sel ect t!e LAN network adaptor
you intend to use *or your t!in cli ent networ( and clic( edit.
1b. '!ange
your ada&tor
to use
Manual IP
and set a
new *ixed )P
*or t!e
ada&tor and
sae.
This +ill be your
LTSP server IP"
1c. Set t!e
*i xed )P *or
t!e networ(
ada&tor t!e
cl assi c way
to ensure t!e
-H'P serer
starts
correctly.
=dd the in)ormation )or your net+or. adaptor that you selected in !c" as sho+n belo+"
4e added eth# +ith a static IP o) !7&"!(8"!"!
>pen the Terminal 4indo+ and enter
sudo gedit /etc/network/interfaces
1d. '!ange t!e
,etwor(
.anager con*ig
*i le to al low
control o* your
networ( ada&tor
wi t! *ixed )P.
3or some mysterious
reason i) you enter the
IP manually in the
inter)aces )ile% /et+or.
6anager ignores them
and you cannot use the
/et+or. 6anager to
control the adaptor any
more" So +e have to
enable it"
Change the
@managedA)alse@ to
@managed=true@ as
seen belo+"
>pen the Terminal
4indo+ and enter
sudo gedit
/etc/NetworkManager/NetworkManager.conf

2. )nstall t!e LTSP serer.
>pen the Terminal 4indo+ and enter
sudo apt-get install ltsp-server-standalone openssh-server
". /dit t!e -H'P con*iguration *or your LTSP serer to matc! your
c!osen )P range.
In this case !7&"!(8"#"'' changes to !7&"!(8"!"''"
>pen the Terminal 4indo+ and enter
sudo gedit /etc/ltsp/dhcpd.conf

4. Select t!e networ( inter*ace0s *or t!e -H'P serer
=dd the net+or. devices you +ould li.e the DHCP server to run on" In this case +e changed the
value o) !T"#$%C"S to include eth&
>pen the Terminal 4indo+ and enter
sudo gedit /etc/default/isc-dhcp-server

1. #estart t!e -H'P serer
>pen the Terminal 4indo+ and enter
sudo /etc/init.d/isc-dhcp-server restart
Ti' previous ubuntu versions need to use (udo )etc)init*d)dhc'+-(er,er re(tart

6a. Optional step to con*igure a Fat Client not a T!in 'lient be*ore
build
This step is only needed i) you intend to use your LTSP server )or 3at clients% rather than Thin
clients or both" 3or more in)ormation bet+een the di))erences bet+een Thin and 3at clients and
con)iguration see UbuntuLTSP$atClient(
This step edits the LTSP build client con)iguration )ile to install Ubuntu des.top and create LTSP
3at client image"
/>T? only so)t+are installed in the 3at client image +ill be available to the client% and internet
access )or each client needs to be con)igured as the clients +ill not share the server net+or.
connection to the internet as is the case +ith the thin clients"
>pen the Terminal 4indo+ and enter
sudo gedit /etc/ltsp/ltsp-build-client.conf
<ere you can customiBe your installation image )or 3at clients"
4e +ill only install the standard Ubuntu ;es.top system to run on the client side )or no+" 4e can
install more so)t+are to the image later% this is to get a basic 3at client image built"
=dd the )ollo+ing to the )ile and save"
# ltsp-build-client.conf - many other options available
# The chroot architecture.
ARCH=i386
# ubuntu-desktop and edubuntu-desktop are tested.
# Ubuntu !."# $T% working perfectly with Unity and Unity !&.
FAT_CLIENT_DESKTOPS="ubuntu-deskt!"
6b. Optional step to disable NBD compression
/;2 compression is enabled by de)ault in Ubuntu !&"#$ to speed up client dis. access and boot
times% but ta.es a much longer to generate a compressed image )ile" ;uring development +or. is
might be easier to disable this )eature and re-enable it +hen the setup o) the client image is
complete"
>pen the Terminal 4indo+ and enter
sudo gedit /etc/ltsp/ltsp-update-image.conf
=dd />CC>6PA@-no3 -no; -noI -no-e'ports@ line to disable compression" ?nable the
compressing by adding the D symbol% or delete the line completely
6a.e sure the )ile no+ loo.s li.e this e'ample belo+ and save"
# 'onfiguration file for ltsp-update-image
# &o not compress the client image. 'omment out the line below to
enable again.
NO_CO"P="-nF -nD -nI -n-e$!%ts"
6c. 2uild t!e i"36 4"2bit5 LTSP T!in06at 'lient
This step builds the *&bit Thin Client Ubuntu !!"#$ image needed to boot the thin clients on the
net+or."
This step do+nloads and installs all the *&bit Ubuntu client elements" Could ta.e a +hile"
>pen the Terminal 4indo+ and enter
sudo ltsp-build-client --arch i()*
Ti' to set up ($bit thin clients leave out the :--arch i*8(: part and enter (udo lt('-buil d-client

7. #eboot your new LTSP serer to com&lete LTSP serer install
=t this point your Ubuntu LTSP server should be up and running"
9ou should be able to boot a Thin Client via the net+or."
9ou could also set up a 1irtual 6achine to act as a thin client )or testing your server" See How to
create a VirtualBox Ubuntu LTSP Thin Client*
Ti' =)ter reboot ma.e sure that the DHCP is running correctly" >pen a Terminal 4indo+ and
enter
sudo /etc/init.d/isc-dhcp-server status
Ti' I) a)ter this point you change your P addre(( on the LTSP server you need to enter the
)ollo+ing
sudo ltsp-update-sshkeys
sudo ltsp-update-image --arch i()*

3. Set u& T!in 'lient 8dmin user
0eplace the adminname +ith your admin user name"
sudo -s -+
chroot /opt/ltsp/i()*
useradd -m &d'inn&'e -, sudo
passwd &d'inn&'e
e-it
e-it
Loc. the admin account: s pass+ord
sudo chroot /opt/ltsp/i()* passwd -l &d'inn&'e
Update the client image
sudo ltsp-update-image --arch i()*

9. Set u& a T!in 'lient User 8ccount
9a. :&en sers and !roups
6a.e sure you have gnome (y(tem tool( installed as this has been removed in Ubuntu !&"#$"
sudo apt-get install gnome-system-tools
In Ubuntu !&"#$ search )or U(er( and -rou'( under applications a)ter installation"
9b. 'lic( Add to add new user account
9c. 8dd new username details
9d. 8dd new user &assword
9e. '!ange User Ad"anced #ettin$s ;< User Priileges

10. 2oot your T!in 'lient *rom t!e Ubuntu LTSP serer
Connect your Thin Client computer or 1irtual 6achine to your LTSP net+or. S+itch-<ub"
=lter the Thin Client
6achine 2I>S 2oot
settings to boot )rom L=/
- /et+or."
2oot the machine"
I) all is set up correctly you
should see the )ollo+ing
Ubuntu L;6 login screen
on your Thin Client"
9ou +ill be able to login
+ith your ne+ly created
Thin Client username and
pass+ord"

11. How to
con*igure= u&date
and auto login
T!in 0 6at 'lients
Clic. here /or How to
con/igure0 u'date and
auto login Ubuntu 12*&3
LTSP $at Client(


Tags% Ubuntu 11*&3 Thi n Cli ent $at cli ent Ubuntu LTSP Ubuntu 11*1& Ubuntu 12*&3
'omments
<i% I:m trying to install and I have a error @/o ip""" /o ip """@" Could anyone help meE FG
%i& I'm tr(in$ to install and
Submit ted by f abbaraujo (not verified) on Wed 20120822 0125
6a.e sure that the ;<CP server is running on your LTSP server be)ore you boot the thin
client" See instructions number *-, above" The problem is most li.ely +ith the ;<CP
con)iguration"
Make sure that the D%CP
Submit ted by The Fan Club on Thu 2012 0823 20 06
4htt'5))www*ubuntu*com)6
Sho+ all comments
related content
How to create a VirtualBox Ubuntu LTSP Thin Client
How to - Ubuntu 12*&3 Touch(creen calibration
How to con/igure0 u'date and auto login Ubuntu 12*&3 LTSP $at Client(
How to $ix Ubuntu Boot S'la(h Screen a/ ter -#UB u'date(
How to (etu' an Ubuntu Bu(ine(( Box Ser,er - UBB Part 2
more
The $an Club 7 2&&1-2&13* %ll #ight( #e(er,ed*
The material on this site may not be reproduced%
distributed% transmitted% cached or other+ise used% e'cept
+ith the prior +ritten permission o) The 3an Club"
I set this up in 1irtual2o'" The ThinClient gets the right IP and starts to boot" 2ut a)ter 2oot i
Hust see a blac. ScreenI 4hat could be the reason )or thatE
I set this up in )irtualBo*+
Submit ted by Benjibuntu (not verified) on Tue 20130312 1241
about u( 'ri,acy 'olicy term( 8 condition( (itema' contact

You might also like