EdubuntuLTSPUpgradeNotes

Differences between revisions 10 and 13 (spanning 3 versions)
Revision 10 as of 2007-05-01 15:08:54
Size: 3659
Editor: p548afbb6
Comment:
Revision 13 as of 2008-08-06 16:17:45
Size: 2764
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
'''While it is easy to just upgrade your client chroot to the recent package set, it is recommended to rather recreate the chroot to take advantage of all new features (some of them are set up during chroot creation, so you wont see them with a plain package upgrade).''' '''While it is easy to just upgrade your client chroot to the recent package set, it is recommended to rather recreate the chroot to take advantage of all new features (some of them are set up during chroot creation, so you won't see them with a plain package upgrade).'''
Line 7: Line 7:
=== Upgrading the client chroot === === Upgrading the client chroot (not recommended) ===
Line 21: Line 21:
 * Clean up after us, we dont need the /proc filesystem anymore  * Clean up after us, we don't need the /proc filesystem anymore
Line 30: Line 30:
Note for dapper->edgy upgrades local device support for thin clients was added, the package for this doesnt get installed on upgrades, so make sure to run:

 {{{
 sudo chroot /opt/ltsp/i386 apt-get install ltspfsd}}}

to install it (also see the ["EnableLTSP5LocalDevices"] wikipage).
Note this step is only necessary with the upgrade method, if you follow the recommended recreation method below it will be installed automatically.

=== Recreating the client chroot '''(recommended)''' ===
=== Recreating the client chroot (recommended) ===
Line 49: Line 41:
== Edgy specific steps == Note: if you're using a deb repository different from the standard one you must specify it with the --mirror option of ltsp-build-client - see ltsp-build-client --help for more information
Line 51: Line 43:
In edgy we began to install a default setup and themeing on the thin clients, to enable it, make sure your client environment is up to date through one of the above procedures and run: Make sure your client artwork environment is up to date through one of the above procedures and run:
Line 58: Line 50:
 * Local device support (please see also the ["EnableLTSP5LocalDevices"] page)  * Local device support (please see also the [[EnableLTSP5LocalDevices]] page)
Line 61: Line 53:
 * 16bit colors to save bandwith  * 16bit colors to save bandwidth
Line 63: Line 55:

Edgy also installs the bootkernels in an arcitecture specific subdirectory. even though the new ltsp-server package brings a new dhcp configuration with it that regards this change, it wont get installed if you edited this file at any point. Please make sure your '''/etc/ltsp/dhcpd.conf''' has the following parameter for the "filename" option:

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

And dont forget to restart the dhcp server with:

{{{
 sudo /etc/init.d/dhcp3-server restart}}}

after making changes to the configuration file.
Line 78: Line 58:
If using a keyboard different from english, upgrading to edgy with the second method will obviously loose keyboard layout customization, and your clients' keyboards will be have the english layout. You will have to modify '''/opt/ltsp/i386/etc/lts.conf''' adding the line: If using a keyboard different from English, upgrading to edgy with the second method will obviously loose keyboard layout customization, and your clients' keyboards will be have the english layout. You will have to modify '''/opt/ltsp/i386/etc/lts.conf''' adding the line:
Line 83: Line 63:
(es is the layout code for spanish, change with you layout) (es is the layout code for Spanish, change with you layout)

This page describes how you upgrade your LTSP client chroot on an upgrade to the next Edubuntu version

Warning /!\ Before following the notes below, make sure you have an up to date system on the Server, follow the UpgradeNotes wikipage for that.

While it is easy to just upgrade your client chroot to the recent package set, it is recommended to rather recreate the chroot to take advantage of all new features (some of them are set up during chroot creation, so you won't see them with a plain package upgrade).

Upgrading the client chroot (not recommended)

  • Copy your servers sources.list file into the chroot
     sudo cp /etc/apt/sources.list /opt/ltsp/i386/etc/apt/sources.list
  • Make sure we have a /proc filesystem available (some packages need that)
     sudo chroot /opt/ltsp/i386 mount -t proc proc /proc
  • Update the package lists in the chroot
     sudo chroot /opt/ltsp/i386 apt-get update
  • Upgrade the packages
     sudo chroot /opt/ltsp/i386 apt-get dist-upgrade
  • Clean up after us, we don't need the /proc filesystem anymore
     sudo chroot /opt/ltsp/i386 umount /proc
  • Make sure the new client Kernel is used for tftpboot
     sudo ltsp-update-kernels

After that procedure your LTSP clients have the most recent packages installed

Recreating the client chroot (recommended)

  • Delete your old LTSP Client chroot
     sudo rm -rf /opt/ltsp/i386
  • Create a new LTSP Client chroot
     sudo ltsp-build-client

This will set up a new chroot automatically for you, after the command has finished you can just use your Thin Clients as usual.

Note: if you're using a deb repository different from the standard one you must specify it with the --mirror option of ltsp-build-client - see ltsp-build-client --help for more information

Make sure your client artwork environment is up to date through one of the above procedures and run:

  •  sudo dpkg-reconfigure -pcritical edubuntu-artwork

Beside the themes it will give you a default configuration with:

  • Local device support (please see also the EnableLTSP5LocalDevices page)

  • Network swapping
  • Sound support
  • 16bit colors to save bandwidth
  • Centralized logging of the clients to the server

Keyboard

If using a keyboard different from English, upgrading to edgy with the second method will obviously loose keyboard layout customization, and your clients' keyboards will be have the english layout. You will have to modify /opt/ltsp/i386/etc/lts.conf adding the line:

 XKBLAYOUT=es

(es is the layout code for Spanish, change with you layout)

and you must reboot the clients (not the server).


CategoryEdubuntuCleanup

EdubuntuLTSPUpgradeNotes (last edited 2009-07-24 02:10:36 by fupi)