Monday, February 21, 2011

LTSP in Fedora

Source: https://fedorahosted.org/k12linux/wiki/InstallGuide

Note: This page is for adding LTSP/K12Linux to an existing Fedora installation version 10 or above. 

If you are using the K12Linux Live Server media, all of this is already done for you. Skip ahead to network configuration.

K12Linux Install Guide

  1. yum update
  2. yum install ltsp-server
  3. yum install ltsp-vmclient if you want the qemu-kvm PXE boot client launcher. Requires hardware virtualization support or it will be very slow and possibly unusable.
  4. Uncomment the option_cache_value line in /etc/ltsp/ltsp-build-client.conf if you want to keep a local cache of packages to be installed in the client chroot. This might be useful if you keep testing newer versions of ltsp-server and you will be reinstalling the client chroot. Erase /var/cache/chroot if you no longer need this cache.
  5. echo "/opt/ltsp *(ro,async,no_root_squash)" >> /etc/exports
  6. ifup ltspbr0 This works fine for now, but after reboot it might not start up automatically unless you have service network running. NetworkManager does not know how to bring up TYPE=Bridge devices. You could enable service network with chkconfig network on then rebooting (or do it manually). service network will mostly co-exist with NetworkManager until you need to plug in a real client via ethernet. See NetworkSetup for more info.
  7. for service in xinetd ltsp-dhcpd rpcbind nfs sshd; do chkconfig $service on; service $service restart; done
  8. for server in ldminfod nbdrootd nbdswapd tftp; do chkconfig $server on; done
  9. ltsp-build-client to begin installation of the /opt/ltsp/i386 client chroot.
  10. Disable your firewall during these tests. It will interfere with DHCP and other incoming connections.
  11. At this point ltsp-vmclient will theoretically work. If you want to boot a real thin client see NetworkSetup.

Next Configuration Steps


0 Comments: