Je třeba zkontrolovat síť:
ifconfig -a
resolv.chomsky.conflocal-admin:Vele4,8n
apt-get install ltsp-server dnsmasq tftpd-hpa
ltsp-build-client
sed -i 's/ipappend 2/ipappend 3/g' /var/lib/tftpboot/ltsp/amd64/pxelinux.cfg/default
/etc/dnsmasq.d/ltsp.conf# # Dnsmasq running as a proxy DHCP and TFTP server # # See: http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html # # # TFTP # # This might work instead of tftpd-hpa: #enable-tftp #tftp-root=/var/lib/tftpboot # # DHCP # # DHCP proxy on this network dhcp-range=192.168.1.0,proxy # Tell PXE clients not to use multicast discovery # See section 3.2.3.1 in http://tools.ietf.org/html/draft-henry-remote-boot-protocol-00 dhcp-option=vendor:PXEClient,6,2b # Better support for old or broken DHCP clients dhcp-no-override # Enable this for better debugging #log-dhcp # # PXE # # Note the file paths are relative to our "tftp-root" and that ".0" will be appended pxe-prompt="Press F8 for boot menu", 3 pxe-service=x86PC, "Boot from network", /ltsp/i386/pxelinux pxe-service=x86PC, "Boot from local hard disk"
locale - měly by všechny být UTF-8)add-apt-repository --yes ppa:ts.sch.gr apt-get update apt-get --yes --install-recommends install dnsmasq ltsp-server-standalone ltsp-client ldm-ubuntu-theme ltsp-config dnsmasq echo 'IPAPPEND=3' >> /etc/ltsp/update-kernels.conf /usr/share/ltsp/update-kernels
ltsp-update-image --cleanup /
ltsp-config lts.conf gedit /var/lib/tftpboot/ltsp/amd64/lts.conf
Ještě je třeba spravit DNS:
echo DNSMASQ_EXCEPT=lo >> /etc/default/dnsmasq service dnsmasq restart
a do lts.conf přidat
DNS_SERVER="192.168.128.6 195.113.0.2"
/etc/dnsmasq.d/ přidat soubor ltsp.conf:# # Dnsmasq running as a proxy DHCP and TFTP server # # See: http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html # # # TFTP # # This might work instead of tftpd-hpa: enable-tftp tftp-root=/var/lib/tftpboot # # DHCP # # DHCP proxy on this network dhcp-range=eth1,192.168.128.100,192.168.128.150,12h # Tell PXE clients not to use multicast discovery # See section 3.2.3.1 in http://tools.ietf.org/html/draft-henry-remote-boot-protocol-00 dhcp-option=vendor:PXEClient,6,2b # Better support for old or broken DHCP clients dhcp-no-override # Enable this for better debugging log-dhcp # # PXE # # Note the file paths are relative to our "tftp-root" and that ".0" will be appended pxe-prompt="Press F8 for boot menu", 3 pxe-service=x86PC, "Boot from network", /ltsp/amd64/pxelinux pxe-service=x86PC, "Boot from local hard disk"
/etc/dnmasq.d. V úvahu se berou všechny. A musí štimovat i s /etc/dnsmasq.conf.cat > /etc/ltsp/ltsp-update-image.conf # Configuration file for ltsp-update-image # Do not compress the client image. Comment out the line below to enable again. NO_COMP="-noF -noD -noI -no-exports"
ltsp-build-client [service dnsmasq restart]
a nakonec zakomentovat
# NO_COMP="-noF -noD -noI -no-exports"
/etc/dnsmasq.conf:# Listen on this specific port instead of the standard DNS port # (53). Setting this to zero completely disables DNS function, # leaving only DHCP and/or TFTP. #port=5353 port=0 # If you want dnsmasq to listen for DHCP and DNS requests only on # specified interfaces (and the loopback) give the name of the # interface (eg eth0) here. # Repeat the line for more than one interface. interface=eth1
/etc/dnsmasq.d/network-manager:#bind-interfaces
ltsp-update-image
skoumalautofs, nfs-server, sshd/etc/profile.dls:dircolors -p > /etc/DIR_COLORS
i386/usr/local/share/icons a /usr/local/share/morphology/usr/local/bintcsh)gcc./InstallSICStus --all-questions a vybrat pre-built binariesmanatee z balíků:manatee-open_2.137.2-1ubuntu1_amd64.debfinlib_2.35.1-1_amd64.deblibantlr3c_3.4-1_amd64.debpython-signalfd_0.1-1ubuntu1_amd64.deb xinetd, oeditovat /etc/services a přidat skript do /etc/xinetd.d/ podle http://utkl.ff.cuni.cz/dokuwiki/doku.php?id=utkl:admin:instalace_sw#instalacelibstdc++.so.5 do /usr/lib/i386-linux-gnuunlock login keyring:seahorseunprotectedMATE Tweak (Marco software composition)NFS:/etc/exportsnfs-server:systemctl daemon-reload systemctl start nfs-server
/etc/exportsnfs-server:systemctl restart nfs-server exportfs
/etc/rc.local:cp -p /etc/exports.empty /etc/exports systemctl daemon-reload systemctl start nfs-server cp -p /etc/exports.run /etc/exports systemctl restart nfs-server exportfs -a