Linux Terminal Server Project (LTSP) is a free and open source terminal server for Linux that allows many people to simultaneously use the same computer (Wikipedia).
Dokumentasi LTSP pada BlankOn Pattimura ini dibuat untuk menunjukkan bahwa BlankOn Pattimura itu "MBOIZ".
Langkah-langkah untuk menerapkan LTSP pada BlankOn Pattimura sebagai berikut (untuk beberapa bagian harap sesuaikan dengan kondisi anda):
==Langkah 1.==
Install paket aplikasi ltsp-server-standalone, download offline installernya disini :
http://www.mediafire.com/?lmtuer86lecr17r
http://www.mediafire.com/?lmtuer86lecr17r
==Langkah 2.==
Beri alamat statik pada NIC yang akan digunakan oleh LTSP server, dengan mengedit berkas /etc/network/interfaces
andix@i5:~$ sudo gedit /etc/network/interfaces
andix@i5:~$ sudo gedit /etc/network/interfaces
berikut contoh settingan berkas yang saya gunakan (sesuaikan dengan kondisi anda).
auto eth0
iface eth0 inet static
address 192.168.2.1
netmask 255.255.255.0
gateway 192.168.2.1
auto eth0
iface eth0 inet static
address 192.168.2.1
netmask 255.255.255.0
gateway 192.168.2.1
Untuk menerapkan perubahan restart networking
andix@i5:~$sudo /etc/init.d/networking restart
andix@i5:~$sudo /etc/init.d/networking restart
==Langkah 3.==
setting dhcp server agar LTSP server dapat memberikan alamat IP ke LTSP client, edit etc/ltsp/dhcp3/dhcp.conf atau kalau tidak menemukannya coba di etc/ltsp/dhcpd.conf dan sesuaikan dengan alamat IP yang telah diberikan pada NIC, cukup merubah alamat IP saja, biarkan yang lain sesuai dengan standar.
andix@i5:~$sudo gedit etc/ltsp/dhcpd.conf
andix@i5:~$sudo gedit etc/ltsp/dhcpd.conf
berikut contoh settingan berkas yang saya gunakan.
# Default LTSP dhcpd.conf config file.
#
authoritative;
subnet 192.168.2.0 netmask 255.255.255.0 {
range 192.168.2.5 192.168.2.250;
option domain-name "ltsp.lab";
option domain-name-servers 192.168.2.1;
option broadcast-address 192.168.2.255;
option routers 192.168.2.1;
# next-server 192.168.2.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";
}
}
# Default LTSP dhcpd.conf config file.
#
authoritative;
subnet 192.168.2.0 netmask 255.255.255.0 {
range 192.168.2.5 192.168.2.250;
option domain-name "ltsp.lab";
option domain-name-servers 192.168.2.1;
option broadcast-address 192.168.2.255;
option routers 192.168.2.1;
# next-server 192.168.2.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";
}
}
untuk menerapkan perubahan restart service
andix@i5:~$sudo service isc-dhcp-server restart
andix@i5:~$sudo service isc-dhcp-server restart
==Langkah 4.==
Edit berkas /etc/inetd.conf
andix@i5:~$sudo gedit /etc/inetd.conf
andix@i5:~$sudo gedit /etc/inetd.conf
Tambahkan perintah dibawah ini ke baris paling akhir pada berkas /etc/inetd.conf ,jika sudah ada, tidak perlu ditambahkan.
2000 stream tcp nowait nobody /usr/sbin/tcpd /usr/sbin/nbdrootd /opt/ltsp/images/i386.img
2000 stream tcp nowait nobody /usr/sbin/tcpd /usr/sbin/nbdrootd /opt/ltsp/images/i386.img
Berikut contoh berkas/etc/inetd.conf milik saya
# /etc/inetd.conf: see inetd(8) for further informations.
#
# Internet superserver configuration database
#
#
# Lines starting with "#:LABEL:" or "# #" should not
# be changed unless you know what you are doing!
#
# If you want to disable an entry so it isn't touched during
# package updates just comment it out with a single '#' character.
#
# Packages should modify this file by using update-inetd(8)
#
#
#
#:INTERNAL: Internal services
#discard stream tcp nowait root internal
#discard dgram udp wait root internal
#daytime stream tcp nowait root internal
#time stream tcp nowait root internal
#:STANDARD: These are standard services.
#:BSD: Shell, login, exec and talk are BSD protocols.
#:MAIL: Mail, news and uucp services.
#:INFO: Info services
#:BOOT: TFTP service is provided primarily for booting. Most sites
# run this only on machines acting as "boot servers."
#:RPC: RPC based services
#:HAM-RADIO: amateur-radio services
#:OTHER: Other services
# # netbios-ssn stream tcp nowait root /usr/sbin/tcpd /usr/sbin/smbd
9572 stream tcp nowait nobody /usr/sbin/tcpd /usr/sbin/nbdswapd
9571 stream tcp nowait nobody /usr/sbin/tcpd /usr/sbin/ldminfod
2000 stream tcp nowait nobody /usr/sbin/tcpd /usr/sbin/nbdrootd /opt/ltsp/images/i386.img
# /etc/inetd.conf: see inetd(8) for further informations.
#
# Internet superserver configuration database
#
#
# Lines starting with "#:LABEL:" or "#
# be changed unless you know what you are doing!
#
# If you want to disable an entry so it isn't touched during
# package updates just comment it out with a single '#' character.
#
# Packages should modify this file by using update-inetd(8)
#
#
#
#:INTERNAL: Internal services
#discard stream tcp nowait root internal
#discard dgram udp wait root internal
#daytime stream tcp nowait root internal
#time stream tcp nowait root internal
#:STANDARD: These are standard services.
#:BSD: Shell, login, exec and talk are BSD protocols.
#:MAIL: Mail, news and uucp services.
#:INFO: Info services
#:BOOT: TFTP service is provided primarily for booting. Most sites
# run this only on machines acting as "boot servers."
#:RPC: RPC based services
#:HAM-RADIO: amateur-radio services
#:OTHER: Other services
#
9572 stream tcp nowait nobody /usr/sbin/tcpd /usr/sbin/nbdswapd
9571 stream tcp nowait nobody /usr/sbin/tcpd /usr/sbin/ldminfod
2000 stream tcp nowait nobody /usr/sbin/tcpd /usr/sbin/nbdrootd /opt/ltsp/images/i386.img
Untuk menerapkan perubahan restart service
andix@i5:~$sudo service openbsd-inetd restart
andix@i5:~$sudo service openbsd-inetd restart
==Langkah 5.==
Download image LTSP
http://www.mediafire.com/?mwstrmvgau6u3lv
http://www.mediafire.com/?mwstrmvgau6u3lv
ekstrak dengan hak akses sebagai root, kemudian jalankan setup-ltsp.sh , proses ini akan memakan waktu yang cukup lama, pastikan partisi system / (root) memiliki ruang bebas yang cukup sekitar 2 GB. image LTSP secara otomatis akan dipasang dan dibuat di folder /opt
Download image LTSP Ekstrak menggunakan perintah berikut, jangan menggunkan opsi klik kanan.
andix@i5:~$sudo tar -jxvf ltsp-image.tar.bz2
Download image LTSP Ekstrak menggunakan perintah berikut, jangan menggunkan opsi klik kanan.
andix@i5:~$sudo tar -jxvf ltsp-image.tar.bz2
Install image LTSP dan paket ketergantungannya
andix@i5:~$sh setup-ltsp.sh
andix@i5:~$sh setup-ltsp.sh
==Langkah 6.==
Uji coba di komputer client yang mendukung boot dari jaringan PXE.
Untuk login ke desktop gunakan user akun yang sudah ada, atau dapat juga membuat user akun terlebih dahulu yang akan digunakan sebagai LTSP Client.
Untuk login ke desktop gunakan user akun yang sudah ada, atau dapat juga membuat user akun terlebih dahulu yang akan digunakan sebagai LTSP Client.
==Daftar Pustaka pada dokumntasi ini :==
http://ltsp.org/
http://www.wirama.web.id/search/label/LTSP
http://www.linuk.web.id/2011/06/setup-ltsp-di-blankon-7-dan-ubuntu-1104.html
http://ltsp.org/
http://www.wirama.web.id/search/label/LTSP
http://www.linuk.web.id/2011/06/setup-ltsp-di-blankon-7-dan-ubuntu-1104.html
