Differences between revisions 6 and 7
Revision 6 as of 2007-07-03 11:14:27
Size: 1596
Editor: ?MartinEricRacine
Comment:
Revision 7 as of 2007-07-03 11:15:33
Size: 1517
Editor: ?MartinEricRacine
Comment:
Deletions are marked like this. Additions are marked like this.
Line 18: Line 18:

 Note that ltsp-server can also work with dnsmasq instead of dhcp3-server.

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 dhcpd.conf:

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

3. Alternately, configure dnsmasq.conf:

  • See example /usr/share/doc/ltsp-server/examples/dhcpd-dnsmasq or /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:

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 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 pkg-ltsp-keyring --late-packages ltspfsd