Buat IP static di komputer server LTSP
sudo gedit /etc/network/interfacesKira-kira isinya seperti ini (sesuaikan dengan konfigurasi jaringan yang ada)
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet static address 192.168.10.18 netmask 255.255.255.0 network 192.168.10.0 broadcast 192.168.10.255 gateway 192.168.10.15
Restart untuk memperbaharui perubahan
sudo gedit /etc/init.d/networking restart
Install LTSP
sudo apt-get install ltsp-server-standalone
Sesuaikan konfigurasi dhcp-sesrver
sudo gedit /etc/ltsp/dhcpd.conf
Kira-kira isinya seperti ini
# Default LTSP dhcpd.conf config file. authoritative; subnet 192.168.10.0 netmask 255.255.255.0 { range 192.168.10.20 192.168.10.250; option domain-name "ltsp"; option domain-name-servers 192.168.10.1; option broadcast-address 192.168.10.255; option routers 192.168.10.15; # next-server 192.168.10.1; # get-lease-hostnames true; option subnet-mask 255.255.255.0; option root-path "/opt/ltsp/i386"; if substring( option vendor-class-identifier, 0, 9 ) = "PXEClient" { filename "/ltsp/i386/pxelinux.0"; } else { filename "/ltsp/i386/nbi.img"; } }
Setting ethx pada bagian ini
# Defaults for dhcp initscript # sourced by /etc/init.d/dhcp # installed at /etc/default/dhcp3-server by the maintainer scripts # # This is a POSIX shell fragment # # On what interfaces should the DHCP server (dhcpd) serve DHCP requests? # Separate multiple interfaces with spaces, e.g. "eth0 eth1". INTERFACES="eth0"
Apabila melakukan perubahan-perubahan IP, lakukan perintah ini
sudo ltsp-update-sshkeys && sudo ltsp-update-image
Tidak ada komentar:
Posting Komentar