Differences between revisions 4 and 5
Revision 4 as of 2007-06-18 08:19:20
Size: 1271
Editor: ?VagrantCascadian
Comment: fix formatting for commandline
Revision 5 as of 2007-07-03 11:11:52
Size: 1559
Editor: ?MartinEricRacine
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
on a debian etch (or newer) system... On a Debian 4.0 (Etch) or newer system:
Line 3: Line 3:
if you have a DHCP server already: 1. If you have a DHCP server already up and running on your network:
Line 7: 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 an DHCP server:
Line 11: Line 11:
build the LTSP client environment: 2. Build the LTSP client environment:
Line 15: Line 15:
configure dhcpd.conf: 3. Configure dhcpd.conf:
Line 17: Line 17:
 see example /usr/share/doc/ltsp-server/examples/dhcpd.conf or /etc/ltsp/dhcpd.conf and adapt to your network.  See example /usr/share/doc/ltsp-server/examples/dhcpd.conf or /etc/ltsp/dhcpd.conf and adapt to your network.
Line 19: Line 19:
configure /etc/exports:  Note that ltsp-server can also work with dnsmasq as a server, instead of dhcp3-server. See example /usr/share/doc/ltsp-server/examples/dhcpd-dnsmasq and adapt /etc/dnsmasq.conf content to your network.
 
4. Configure /etc/exports:
Line 21: Line 23:
 /opt/ltsp *(ro,no_root_squash)  /opt/ltsp *(ro,no_root_squash,no_subtree_check)
Line 23: Line 25:
boot a PXE or etherboot capable machine and enjoy. 5. Boot a PXE capable machine and enjoy.
Line 27: Line 29:
if you want to use newer ltsp related packages with ltspfs: If you want to use newer ltsp related packages with ltspfs:
Line 29: Line 31:
add the key(s) for the repository to your keyring(after verifying that you trust them): 1. Add the key(s) for the repository to your keyring(after verifying that you trust them):
Line 35: Line 37:
add to /etc/apt/sources.list: 2. Add to /etc/apt/sources.list:
Line 39: Line 41:
update: 3. Update:
Line 43: Line 45:
install new packages: 4. Install new packages:
Line 47: Line 49:
when building a chroot, you'll need to tell it to use the backport sources: 5. When building a chroot, you'll need to tell it to use the backport sources:

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 an 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. Note that ltsp-server can also work with dnsmasq as a server, instead of dhcp3-server. See example /usr/share/doc/ltsp-server/examples/dhcpd-dnsmasq and adapt /etc/dnsmasq.conf content 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