Differences between revisions 1 and 11 (spanning 10 versions)
Revision 1 as of 2007-03-13 02:59:14
Size: 519
Editor: ?VagrantCascadian
Comment: basics of configuring ltsp
Revision 11 as of 2007-09-16 23:55:44
Size: 1745
Editor: ?VagrantCascadian
Comment: mention bug in etch
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
if you have a DHCP server already: = On a Debian 4.0 (Etch) or newer system: =

1. If you have a DHCP server already up and running on your network:
Line 5: Line 7:
if you want your LTSP server to function as an DHCP server: 1. Otherwise, if you want your LTSP server to function as the DHCP server:
Line 9: Line 11:
build the LTSP client environment: 2. Build the LTSP client environment:
Line 13: Line 15:
configure dhcpd.conf: 3. Configure /etc/dhcp3/dhcpd.conf:
Line 15: Line 17:
 see example /usr/share/doc/ltsp-server/examples/dhcpd.conf or /etc/ltsp/dhcpd.conf and adapt to your network. See examples in /usr/share/doc/ltsp-server/examples/dhcpd.conf and /etc/ltsp/dhcpd.conf and adapt to your network.
Line 17: Line 19:
configure /etc/exports: etch is still affected by: http://bugs.debian.org/416868
Line 19: Line 21:
 /opt/ltsp *(ro,no_root_squash) so you may need to add a line even if the dhcp server and tftp server are the same:
Line 21: Line 23:
boot a PXE or etherboot capable machine and enjoy.  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.

== If you want to use newer LTSP related packages (with ltspfs and pulseaudio sound): ==

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

 wget http://pkg-ltsp.alioth.debian.org/debian/pkg-ltsp-keyring
 
 apt-key add pkg-ltsp-keyring

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

 deb http://pkg-ltsp.alioth.debian.org/debian etch-ltsp-backports main

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`

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