a Little Notes

Ikon

TUlisan dan Contekan

LTSP PcLinux OS

Prepare
————-
1. Siapkan Rokok, Kopie, Gingseng dan hal2 yang enggak bikin BT
2. Siapkan CD Linuxnya, gwa pk PClinuxOS
3. Install PC linux ke dalam Harddisk kompie yang mao dijadiin serper LTSP

SIapkan KonekSi Internet
————————————–
1. Edit File /etc/apt/sources.list (ingat jadi root dulu), tambahkan baris dibawah ini ! tang laen uncoment Aja.
rpm http://ftp.ch.debian.org/mirror/pclinuxos/apt/ pclinuxos/2004 os updates texstar 93
2. #apt-get update
3. Install Paket brkut ini (jadi Root Dulu):
#apt-get install dhcp-server nfs-utils tftp-server perl-libwww-perl dkms-fuse fuse libfuse2
4. install LTSPnya
5. edit file /etc/dhcpd.conf, /etc/exports, /etc/xinetd.d/tftp, /etc/hosts, /etc/hosts.allow, /etc/hosts.deny

————————————————
Contoh Konfigurasi yg gwa buat
————————————————
/etc/dhcpd.conf
# global settings
allow booting;
allow bootp;

default-lease-time 21600;
max-lease-time 21600;

ddns-update-style none;
option option-128 code 128 = string;
option option-129 code 129 = text;

option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option routers 192.168.0.254;
option domain-name-servers 192.168.0.253;
option domain-name “billing.idola.net”;
option root-path “192.168.0.254:/opt/ltsp-4.2/i386”;
next-server 192.168.0.254;

subnet 192.168.0.0 netmask 255.255.255.0 {
if substring (option vendor-class-identifier, 0, 9) = “PXEClient”
{
filename “/lts/2.6.17.3-ltsp-1/pxelinux.0”;
}
else{
filename “/lts/vmlinuz-2.6.17.3-ltsp-1”;
}
}

host i-sys001
{hardware ethernet 00:02:55:a0:29:16;
fixed-address 192.168.0.1;
use-host-decl-names on;
#option option-128 e4:45:74:68:00:00;
#option option-129 “NIC=ne IRQ=5 IO=0x320”;
#filename “/eb-5.4.2-eepro100.zpxe”;
}

host i-sys002
{hardware ethernet 00:06:29:73:90:0f;
fixed-address 192.168.0.2;
use-host-decl-names on;
#option option-128 e4:45:74:68:00:00;
#option option-129 “NIC=3c509”;
#filename “/lts/2.4.24-ltsp-4/pxelinux.0”;
}

host i-sys003
{hardware ethernet 00:06:29:33:3B:dC;
fixed-address 192.168.0.3;
use-host-decl-names on;
#option option-128 e4:45:74:68:00:00;
#option option-129 “NIC=3c509”;
#filename “/lts/2.4.24-ltsp-4/pxelinux.0”;
}

host i-sys004
{hardware ethernet 00:04:ac:86:1f:e5;
fixed-address 192.168.0.4;
use-host-decl-names on;
#option option-128 e4:45:74:68:00:00;
#option option-129 “NIC=ne IRQ=5 IO=0x340”;
#filename “/lts/2.4.24-ltsp-4/pxelinux.0”;
}

host i-sys005
{hardware ethernet 00:06:29:33:64:d8;
fixed-address 192.168.0.5;
use-host-decl-names on;
option option-128 e4:45:74:68:00:00;
#option option-129 “NIC=3c509”;
#filename “/lts/2.4.24-ltsp-4/pxelinux.0”;
}

host i-sys006
{hardware ethernet 00:06:29:73:26:e3;
fixed-address 192.168.0.6;
use-host-decl-names on;
#option option-128 e4:45:74:68:00:00;
#option option-129 “NIC=ne IRQ=5 IO=0x320”;
#filename “/lts/2.4.24-ltsp-4/pxelinux.0”;
}

host i-sys007
{hardware ethernet 00:e0:18:67:06:e1;
fixed-address 192.168.0.7;
use-host-decl-names on;
#option option-128 e4:45:74:68:00:00;
#option option-129 “NIC=3c509”;
#filename “/lts/2.4.24-ltsp-4/pxelinux.0”;
}

host i-sys008
{hardware ethernet 00:50:04:c0:14:22;
fixed-address 192.168.0.8;
use-host-decl-names on;
#option option-128 e4:45:74:68:00:00;
#option option-129 “NIC=3c509”;
#filename “/lts/2.4.24-ltsp-4/pxelinux.0”;
}

host i-sys009
{hardware ethernet 00:04:ac:d8:41:63;
fixed-address 192.168.0.9;
use-host-decl-names on;
#option option-128 e4:45:74:68:00:00;
#option option-129 “NIC=ne IRQ=5 IO=0x300”;
#filename “/lts/2.4.24-ltsp-4/pxelinux.0”;
}

host i-sys010
{hardware ethernet 00:04:ac:ae:54:e3;
fixed-address 192.168.0.10;
use-host-decl-names on;
#option option-128 e4:45:74:68:00:00;
#option option-129 “NIC=ne IRQ=5 IO=0x300”;
#filename “/lts/vmlinuz-2.4.24-ltsp-4”;
}

host i-sys011
{hardware ethernet 00:06:29:33:fc:68;
fixed-address 192.168.0.11;
use-host-decl-names on;
#option option-128 e4:45:74:68:00:00;
#option option-129 “NIC=ne IRQ=5 IO=0x320”;
#filename “/lts/2.4.24-ltsp-4/pxelinux.0”;
}

host i-sys012
{hardware ethernet 00:04:ac:6e:3c:4b;
fixed-address 192.168.0.12;
use-host-decl-names on;
#option option-128 e4:45:74:68:00:00;
#option option-129 “NIC=ne IRQ=5 IO=0x320”;
#filename “/lts/2.4.24-ltsp-4/pxelinux.0”;
}

host i-sys013
{hardware ethernet 00:06:29:45:DB:2E;
fixed-address 192.168.0.13;
use-host-decl-names on;
#option option-128 e4:45:74:68:00:00;
#option option-129 “NIC=ne IRQ=5 IO=0x320”;
#filename “/lts/vmlinuz-2.6.17.8-ltsp-1”;
}
#}

#/etc/exports
# generated by drakhosts.pl
/tftpboot 192.168.0.0/255.255.255.0(rw,no_root_squash,async)
/opt/ltsp-4.2/i386 192.168.0.0/255.255.255.0(rw,no_root_squash,async)
/var/opt/ltsp/swapfiles 192.168.0.0/255.255.255.0(rw,no_root_squash,async)

#/etc/xinetd.d/tftp
service tftp
{
disable = no
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
per_source = 11
cps = 100 2
flags = IPv4
}

#/etc/hosts
127.0.0.1 localhost
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

192.168.0.254 localhost billing.localhost
192.168.0.1 i-sys001 i-sys001.idola.net
192.168.0.2 i-sys002 i-sys002.idola.net
192.168.0.3 i-sys003 i-sys003.idola.net
192.168.0.4 i-sys004 i-sys004.idola.net
192.168.0.5 i-sys005 i-sys005.idola.net
192.168.0.6 i-sys006 i-sys006.idola.net
192.168.0.7 i-sys007 i-sys007.idola.net
192.168.0.8 i-sys008 i-sys008.idola.net
192.168.0.9 i-sys009 i-sys009.idola.net
192.168.0.10 i-sys010 i-sys010.idola.net
192.168.0.11 i-sys011 i-sys011.idola.net
192.168.0.12 i-sys012 i-sys012.idola.net
192.168.0.13 i-sys013 i-sys013.idola.net

#/etc/hosts.allow

#
# hosts.allow This file describes the names of the hosts which are
# allowed to use the local INET services, as decided
# by the ‘/usr/sbin/tcpd’ server.
#

## LTSP-begin ##
#
# The lines between ‘LTSP-begin’ and ‘LTSP-end’ were added
# on: Sun Feb 25 17:44:42 2007, by the ltspcfg configuration tool.
# For more information, visit the LTSP homepage
# at http://www.LTSP.org
#

bootpd: 0.0.0.0
in.tftpd: 192.168.0.
portmap: 192.168.0.

## LTSP-end ##

#/etc/hosts.deny (gak sah diisi gpp)

6. edit file /opt/ltsp-4.2/i386/etc/lts.conf (sesuaikan dengan spek client)

[Default]

SERVER = 192.168.0.254
XSERVER = vesa
X_MOUSE_PROTOCOL = “IMPS/2”
X_MOUSE_DEVICE = “/dev/input/mice” #/dev/psaux untuk kernel 2.4
X_MOUSE_RESOLUTION = 50
X_MOUSE_BUTTONS = 3
X_ZAxisMapping = “4 5”
X_MODE_0 = 1024×768
X_HORZSYNC = 28.0 – 96.0
X_VERTREFRESH = 49.0 – 60
USE_XFS = N
USE_NFS_SWAP = Y
LOCAL_STORAGE = N
SWAPFILE_SIZE = 256m
X_COLOR_DEPTH = 16
SCREEN_01 = startx

[isys001]
SERVER = 192.168.0.254
XSERVER = vesa
X_MODE_0 = 800×600
X_HORZSYNC = 28.0 – 96.0
X_VERTREFRESH = 49.0 – 60
USE_XFS = N
USE_NFS_SWAP = Y
SWAPFILE_SIZE = 256m
X_COLOR_DEPTH = 16
SCREEN_01 = startx

[isys002]
SERVER = 192.168.0.254
XSERVER = vesa
X_MODE_0 = 800×600
X_HORZSYNC = 28.0 – 96.0
X_VERTREFRESH = 49.0 – 60
USE_XFS = N
USE_NFS_SWAP = Y
SWAPFILE_SIZE = 256m
X_COLOR_DEPTH = 16
SCREEN_01 = startx

[isys003]
SERVER = 192.168.0.254
XSERVER = vesa
X_MODE_0 = 800×600
X_HORZSYNC = 28.0 – 96.0
X_VERTREFRESH = 49.0 – 60
USE_XFS = N
USE_NFS_SWAP = Y
SWAPFILE_SIZE = 256m
X_COLOR_DEPTH = 16
SCREEN_01 = startx

[isys004]
SERVER = 192.168.0.254
XSERVER = vesa
X_MODE_0 = 800×600
X_HORZSYNC = 28.0 – 96.0
X_VERTREFRESH = 49.0 – 60
USE_XFS = N
USE_NFS_SWAP = Y
SWAPFILE_SIZE = 256m
X_COLOR_DEPTH = 16
SCREEN_01 = startx

[isys005]
SERVER = 192.168.0.254
XSERVER = vesa
X_MODE_0 = 800×600
X_HORZSYNC = 28.0 – 96.0
X_VERTREFRESH = 49.0 – 60
USE_XFS = N
USE_NFS_SWAP = Y
SWAPFILE_SIZE = 256m
X_COLOR_DEPTH = 16
SCREEN_01 = startx

[isys006]
SERVER = 192.168.0.254
XSERVER = vesa
X_MODE_0 = 800×600
X_HORZSYNC = 28.0 – 96.0
X_VERTREFRESH = 49.0 – 60
USE_XFS = N
USE_NFS_SWAP = Y
SWAPFILE_SIZE = 256m
X_COLOR_DEPTH = 16
SCREEN_01 = startx

[isys007]
SERVER = 192.168.0.254
XSERVER = XF86_SVGA
X_MODE_0 = 800×600
X_HORZSYNC = 28.0 – 96.0
X_VERTREFRESH = 49.0 – 60
USE_XFS = N
USE_NFS_SWAP = Y
SWAPFILE_SIZE = 256m
X_COLOR_DEPTH = 16
SCREEN_01 = startx

[isys008]
SERVER = 192.168.0.254
XSERVER = s3
X_MODE_0 = 800×600
X_HORZSYNC = 28.0 – 96.0
X_VERTREFRESH = 49.0 – 60
USE_XFS = N
USE_NFS_SWAP = Y
SWAPFILE_SIZE = 256m
X_COLOR_DEPTH = 16
SCREEN_01 = startx

[isys009]
SERVER = 192.168.0.254
XSERVER = s3
X_MODE_0 = 800×600
X_HORZSYNC = 28.0 – 96.0
X_VERTREFRESH = 49.0 – 60
USE_XFS = N
USE_NFS_SWAP = Y
SWAPFILE_SIZE = 256m
X_COLOR_DEPTH = 16
SCREEN_01 = startx

[isys0010]
SERVER = 192.168.0.254
XSERVER = vesa
X_MODE_0 = 800×600
X_HORZSYNC = 28.0 – 96.0
X_VERTREFRESH = 49.0 – 60
USE_XFS = N
USE_NFS_SWAP = Y
SWAPFILE_SIZE = 256m
X_COLOR_DEPTH = 16
SCREEN_01 = startx

[isys0011]
SERVER = 192.168.0.254
XSERVER = vesa
X_MODE_0 = 800×600
X_HORZSYNC = 28.0 – 96.0
X_VERTREFRESH = 49.0 – 60
USE_XFS = N
USE_NFS_SWAP = Y
SWAPFILE_SIZE = 256m
X_COLOR_DEPTH = 16
SCREEN_01 = startx

[isys0012]
SERVER = 192.168.0.254
XSERVER = vesa
X_MODE_0 = 800×600
X_HORZSYNC = 28.0 – 96.0
X_VERTREFRESH = 49.0 – 60
USE_XFS = N
USE_NFS_SWAP = Y
SWAPFILE_SIZE = 256m
X_COLOR_DEPTH = 16
SCREEN_01 = startx

[isys0013]
SERVER = 192.168.0.254
XSERVER = vesa
X_MODE_0 = 800×600
X_HORZSYNC = 28.0 – 96.0
X_VERTREFRESH = 49.0 – 60
USE_XFS = N
USE_NFS_SWAP = Y
SWAPFILE_SIZE = 256m
X_COLOR_DEPTH = 16
SCREEN_01 = startx

7, LAngkah selanjutnya adalah berdoa dan berharap !

Iklan

Filed under: LTSP

6 Responses

  1. khibrah berkata:

    infonya sangat bermanfaat, namun ada beberapa pertanyaan yang masih mengganjal,maaf kalau pertanyaan banyak,.
    1. gimana mengaktifkan biling ccl di komputer client yang menggunakan ltsp
    2. apakah ada cara selain booting lewat disket yang dapat dilakukan disisi client
    3. apa kompie client ltsp bisa digunakan untuk gaming

    thank atas perhatiannya

    salam dari makassar

  2. kenzanin berkata:

    tanggapan atas pertanyaan di atas:
    1. mudah,
    2. untuk PC yang support PXE (Pentium 2 dan atas) bisa di lakukan tanpa disk, dan kayaknya setting diatas di tujukan untuk PXE.
    3 sulit.

    terima kasih semoga membantu

  3. kenzanin berkata:

    pentium 2 keatas biasanya support untuk boot lewat Network -> hehehe sory lupa

  4. c00lf4c3 berkata:

    Postingannya bagus dan bermanfaat. Tapi saya mau nanya dikit nih, gimana caranya install serial printer di client tersebut. Thanks (tanggapan bisa dikirimkan ke email)

  5. Heri berkata:

    Saya sudah coba ikutin spt diatas, saya pake PCLinuxOS2009, tp kenapa client ga mau nongol ya dekstopnya.. minta bantuan mas makasih.

  6. fei berkata:

    infonya sangat bermanfaat. cuman ada 1 ganjelan nih, tuk config clientnya gmn ya bang, thx

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

%d blogger menyukai ini: