Differences between revisions 12 and 13
Revision 12 as of 2007-10-19 17:46:25
Size: 2557
Editor: ?VagrantCascadian
Comment: updated backport info for etch's X.org
Revision 13 as of 2007-11-20 22:27:33
Size: 2579
Editor: ?VagrantCascadian
Comment: fix typo and improve formatting for configuring x with etch backport
Deletions are marked like this. Additions are marked like this.
Line 63: Line 63:
 chroot /opt/ltsp/i386 apt-get install xdebconfigurator 1. chroot /opt/ltsp/i386 apt-get install xdebconfigurator
Line 65: Line 65:
 cp /opt/ltsp/i386/usr/share/doc/ltsp-client-core/examples/configure-x-xdebconfigurator.gz /opt/ltsp/i386/etc/ 2. cp /opt/ltsp/i386/usr/share/doc/ltsp-client-core/examples/configure-x-xdebconfigurator.gz /opt/ltsp/i386/etc/
Line 67: Line 67:
 gunzip /opt/ltsp/i386/etc/configure-x-xdebconfigurator.gz 3. gunzip /opt/ltsp/i386/etc/configure-x-xdebconfigurator.gz
Line 69: Line 69:
 chmod +x /opt/ltsp/i386/etc/configure-x-xdebconfigurator 4. chmod +x /opt/ltsp/i386/etc/configure-x-xdebconfigurator
Line 71: Line 71:
 echo CONFIGURE_X_COMMAND=/etc/configure-x-xdebconfigurator >> /opt/ltsp/i386/etc/lts.conf 5. echo CONFIGURE_X_COMMAND=/etc/configure-x-xdebconfigurator >> /opt/ltsp/i386/etc/lts.conf
Line 73: Line 73:
 echo 'copy_dirs="$copy_dirs /var/cache/debconf"' >> /opt/ltsp/i386/default/ltsp-client-setup 6. echo 'copy_dirs="$copy_dirs /var/cache/debconf"' >> /opt/ltsp/i386/etc/default/ltsp-client-setup
Line 75: Line 75:
 echo 'temp_copy_dirs=" "' >> /opt/ltsp/i386/default/ltsp-client-setup 7. echo 'temp_copy_dirs=" "' >> /opt/ltsp/i386/etc/default/ltsp-client-setup

On a Debian 4.0 (Etch) or newer system:

1. If you have a DHCP server already up and running on your network:

  • apt-get install ltsp-server openssh-server

1. Otherwise, if you want your LTSP server to function as the DHCP server:

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

2. Build the LTSP client environment:

  • ltsp-build-client

3. Configure /etc/dhcp3/dhcpd.conf:

See examples in /usr/share/doc/ltsp-server/examples/dhcpd.conf and /etc/ltsp/dhcpd.conf and adapt to your network.

etch is still affected by: http://bugs.debian.org/416868

so you may need to add a line even if the dhcp server and tftp server are the same:

  • next-server ip.addres.of.server;

3. Alternately, configure /etc/dnsmasq.conf:

See examples in /usr/share/doc/ltsp-server/examples/dhcpd-dnsmasq and /etc/ltsp/dhcpd-dnsmasq and adapt to your network.

4. Configure /etc/exports:

  • /opt/ltsp *(ro,no_root_squash,no_subtree_check)

5. Boot a PXE capable machine and enjoy.

1. Add the key(s) for the repository to your keyring(after verifying that you trust them):

2. Add to /etc/apt/sources.list:

3. Update:

  • apt-get update

4. Install new packages:

  • apt-get install ltsp-server-standalone ltspfs

5. When building a chroot, you'll need to tell it to use the backport sources:

 ltsp-build-client \   --extra-mirror "http://pkg-ltsp.alioth.debian.org/debian etch-ltsp-backports main" \   --apt-key /etc/apt/trusted.gpg

if X doesn't automatically configure properly (it uses X.org's built-in configuration, which doesn't work as well on the version on X.org in etch), you may want to switch back to the slower but more reliable X configuration using xdebconfigurator:

1. chroot /opt/ltsp/i386 apt-get install xdebconfigurator

2. cp /opt/ltsp/i386/usr/share/doc/ltsp-client-core/examples/configure-x-xdebconfigurator.gz /opt/ltsp/i386/etc/

3. gunzip /opt/ltsp/i386/etc/configure-x-xdebconfigurator.gz

4. chmod +x /opt/ltsp/i386/etc/configure-x-xdebconfigurator

5. echo CONFIGURE_X_COMMAND=/etc/configure-x-xdebconfigurator >> /opt/ltsp/i386/etc/lts.conf

6. echo 'copy_dirs="$copy_dirs /var/cache/debconf"' >> /opt/ltsp/i386/etc/default/ltsp-client-setup

7. echo 'temp_copy_dirs=" "' >> /opt/ltsp/i386/etc/default/ltsp-client-setup