Perawatan LTSP terbilang mudah karena administrator hanya memaintenance 1 atau 2 server saja tanpa harus secara langsung berhubungan dengan end user pada umumnya. Pada dokumentasi LTSP server 1 kali ini perusahan telah memilih distro linux yang cocok dan sangat stabil untuk di pakai dalam kegiatan bisnis perusahaan yaitu LTSP server menggunakan distro dari UBUNTU dengan versi 16.04 dan untuk installasinya bisa dilihat di bawah ini :
Installasi Awal Server LTSP 60.60 Ubuntu 16.04
1.
Pastikan Linux
Ubuntu sudah terinstall dengan baik di computer
2.
Buka terminal /
CTRL + T
3.
Settup ip
address supaya bisa terhubung dengan internet ketikan dengan command berikut : Sudo nano
/etc/network/interfaces
# interfaces(5) file
used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
# The primary network
interface
auto enp3s0
iface enp3s0 inet
static
address 192.168.60.60
netmask 255.255.255.0
network 192.168.60.0
broadcast 192.168.60.255
gateway 192.168.60.1
# dns-* options are implemented by the
resolvconf package, if installed
dns-nameservers 192.168.60.1
auto enp4s0
iface enp4s0 inet
static
address 192.168.54.1
netmask 255.255.255.0
network 192.168.54.0
broadcast 192.168.54.255
4. Setting Supaya ip tidak bisa di rubah dari menu, ketikan dengan perintah berikut :
sudo nano /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq
[ifupdown]
managed=false
]
5.
Install SSH
server, ketikan dengan perintah berikut :
Apt-get install openssh-server
6.
Install LTSP
server stand alone, ketikan perintah berikut :
Apt-get install ltsp-server-standalone
7.
Install DHCP
Server, ketikan perintah berikut :
Apt-get install dhcpd-server
8.
Setting
interface untuk DHCP client, Ketikan dengan perintah berikut :
sudo nano
/etc/default/isc-dhcp-server
# Defaults for
isc-dhcp-server initscript
# sourced by
/etc/init.d/isc-dhcp-server
# installed at /etc/default/isc-dhcp-server
by the maintainer scripts
#
# This is a POSIX
shell fragment
#
# Path to dhcpd's
config file (default: /etc/dhcp/dhcpd.conf).
#DHCPD_CONF=/etc/dhcp/dhcpd.conf
# Path to dhcpd's PID
file (default: /var/run/dhcpd.pid).
#DHCPD_PID=/var/run/dhcpd.pid
# Additional options
to start dhcpd with.
# Don't use options -cf or -pf here; use
DHCPD_CONF/ DHCPD_PID instead
#OPTIONS=""
# On what interfaces
should the DHCP server (dhcpd) serve DHCP requests?
# Separate multiple interfaces with
spaces, e.g. "eth0 eth1".
INTERFACES="enp4s0"
9.
Setting DHCP
Server untuk realese IP address ke Client, ketikan perintah berikut :
sudo
nano /etc/ltsp/dhcpd.conf
#
# Default LTSP
dhcpd.conf config file.
#
authoritative;
subnet 192.168.54.0
netmask 255.255.255.0 {
range 192.168.54.20 192.168.54.200;
option domain-name "example.com";
option domain-name-servers 192.168.54.1;
option broadcast-address 192.168.54.255;
option routers 192.168.54.1;
next-server 192.168.54.1;
# get-lease-hostnames true;
option subnet-mask 255.255.255.0;
option root-path
"/opt/ltsp/amd64";
if substring( option
vendor-class-identifier, 0, 9 ) = "PXEClient" {
filename "/ltsp/amd64/pxelinux.0";
} else {
filename
"/ltsp/amd64/initrd.img";
}
}
host test {
hardware ethernet D4:3D:7E:52:71:10;
fixed-address 192.168.54.101;
}
10. Restart DHCP
server , ketikan perintah berikut :
sudo /etc/init.d/isc-dhcp-server
restart
11 Agar computer
client mendapatkan ip address static lakukan setting pad alts.conf, ketikan
perintah berikut : sudo
nano /var/lib/tftpboot/ltsp/amd64/lts.conf
# If using NFS,
lts.conf goes in /opt/ltsp/<arch>/etc/lts.conf.
# For NBD (the default
in Ubuntu), /var/lib/tftpboot/ltsp/<arch>/lts.conf
# is used instead.
# A list of directives
is available at http://manpages.ubuntu.com/lts.conf
# or your installed
lts.conf man page.
# Lines starting with
'#' are comments.
# Avoid empty
[Sections] as they're considered syntax errors.
# This section applies
to all clients and is overriden by the other sections.
[Default]
# For troubleshooting,
the following open a local console with Alt+Ctrl+F2.
#SCREEN_02=shell
#SCREEN_07=ldm
# Don't encrypt X
traffic. Gives much faster graphics at a security cost.
LDM_DIRECTX=True
# If you're using
Unity, you might want to install gnome-session-fallback and
# use it by default
instead, as it performs better on LTSP thin clients.
LDM_SESSION="gnome-flashback-metacity"
# LDM_SESSION="gnome-flashback-compiz"
# Force all clients to
a specific resolution.
XRANDR_MODE_0=1024x768
# If the default 16bit
color mode is giving you problems on thin clients:
#X_SMART_COLOR_DEPTH=False
# Use any local swap
partitions on the clients.
USE_LOCAL_SWAP=True
# Provide a
"Login as Guest" button, which uses LDM_USERNAME/LDM_PASSWORD.
#LDM_GUESTLOGIN=True
# Automatically login
clients with the specified LDM_USERNAME/LDM_PASSWORD.
#LDM_AUTOLOGIN=True
# Some other
frequently used directives, described in the lts.conf manpage.
# For really low RAM
clients, disable SOUND, LOCAL_APPS and LOCALDEV.
#SOUND=False
#VOLUME=50
#LOCAL_APPS=False
#LOCAL_APPS_EXTRAMOUNTS=/srv
#LOCALDEV=False
#LOCALDEV_DENY_INTERNAL_DISKS=False
#FSTAB_1="server:/home /home nfs defaults,nolock 0 0"
#XSERVER=vesa
#X_BLANKING=0
#X_NUMLOCK=True
#XKBLAYOUT="us,gr"
#XKBOPTIONS="grp:alt_shift_toggle,grp_led:scroll"
#LDM_LIMIT_ONE_SESSION=True
#LDM_LIMIT_ONE_SESSION_PROMPT=True
#LDM_PRINTER_DEFAULT="psc-1310-series"
#[6C:F0:49:94:BE:DD]
# PRINTER_0_DEVICE=/dev/usblp0
# SCREEN_07=shell
# [D4:3D:7E:52:71:10]
# PRINTER_0_DEVICE=/dev/usb/lp0
# You can define
sections to be included later on with "LIKE" directives.
[OLD_MONITOR]
# The following
directives are useful in cases where the driver can't detect
# the (possibly old
CRT) monitor timings and only offers low resolutions.
# Consult your monitor
manual for the correct values, those are for 1024x768.
X_HORZSYNC=30.0-88.0
X_VERTREFRESH=50.0-88.0
# You can specify
directives per client with MAC address (or IP or hostname)
# based sections.
# One way to get their
MAC addresses is to run `arp -n` when they're at LDM.
#[A1:B1:C2:D4:E5:F6]
#HOSTNAME=pc01
#LDM_USERNAME=user01
#LDM_PASSWORD=pass01
# Include another
section.
13. Install LTSP , ketikan perintah berikut :
Ltsp-build-client
14. Setelah selesai setting kepemilikan folder ltsp
untuk root , ketikan perintah berikut :
chroot /opt/ltsp/amd64
15. Jika ada perubahan pada lts.conf, wajib untuk update
ltsp image, ketikan perintah berikut:
Ltsp-update-sshkeys
Ltsp-update-kernels
Ltsp-update-image
16. Install gnome panel, supaya lebih ringan dalam
pemakaian resource memori interface pada end user, ketikan perintah
berikut :
Apt-get install gnome-panel
17. Add user terlebih dahulu untuk test login ltsp,
ketikan dengan perintah berikut :
Adduser
--home /home/departement/user
18. Hidupkan computer client login dengan user password
yang benar dengan memilih session gnome classic.--> Done
Login dengan user masing-masing user yang sudah di daftarkan, ok cukup sekian tutorial tentang install ltsp server ubuntu 16.04, semoga bermanfaat, jika ada yang masih kurang paham untuk di pahami silahkan berkomentar di bawah. :)
Post a Comment