Linuxmint + thinstation (alternatif selain LTSP)

Linuxmint + thinstation

1. Install Linuxmint, prosesnya sama kayak ubuntu karena linuxmint memang turunanya ubuntu. aku pake’ linuxmint Cassandra XFCE Community Edition.

semua editing dan program dijalankan sebagai root. login dengan user kemudian sudo -i

$ sudo -i

#

siap untuk mengedit dan menjalankan program

 

2. Edit repository

# mousepad /etc/apt/sources.list .

## UBUNTU REPOSITORIES

## Feisty (Ubuntu 7.04)

deb http://kambing.vlsm.org/ubuntu/ feisty main restricted universe multiverse

## Proposed Updates

deb http://kambing.vlsm.org/ubuntu/ feisty-proposed main restricted universe multiverse

## Bug Fixes

deb http://kambing.vlsm.org/ubuntu/ feisty-updates main restricted universe multiverse

## Security Updates

deb http://kambing.vlsm.org/ubuntu/ feisty-security main restricted universe multiverse

## Backports

deb http://kambing.vlsm.org/ubuntu/ feisty-backports main restricted universe multiverse

## LINUX MINT REPOSITORIES

## Cassandra (Linux Mint 3.0)

deb http://www.linuxmint.com/repository/ cassandra/

## OTHER REPOSITORIES

## Canonical (RealPlayer10, Opera, DesktopSecure etc…)

deb http://archive.canonical.com/ubuntu/ feisty-commercial main

## Medibuntu (Codecs and extra applications)

deb http://packages.medibuntu.org/ feisty free non-free

 

3. # apt-get update

 

4. install package untuk PXE server

# apt-get install dhcp3-server tftpd-hpa

 

5. Edit file configurasinya:

# mousepad /etc/dhcp3/dhcpd.conf

# start

authoritative;

subnet 192.168.1.0 netmask 255.255.255.0 {

option domain-name “example.com”;

option domain-name-servers 192.168.1.1;

option broadcast-address 192.168.1.255;

option routers 192.168.1.1;

option subnet-mask 255.255.255.0;

if substring( option vendor-class-identifier, 0, 9 ) = “PXEClient” {

filename “/pxelinux.0”;

}

else{

filename “”; # tidak saya isi

}

range 192.168.1.20 192.168.1.100;

}

# end

 

# mousepad /etc/default/tftpd-hpa

#Defaults for tftpd-hpa

RUN_DAEMON=”yes”

OPTIONS=”-l -s /var/lib/tftpboot”

 

6. Menyiapkan thinstation image

Thinstation is a thin client Linux distribution that makes a PC a full-featured thin client supporting all major connectivity protocols: Citrix ICA, NoMachine NX, 2X ThinClient, MS Windows terminal services (RDP), Cendio ThinLinc, Tarantella, X, telnet, tn5250, VMS term and SSH.

 

Disini hanya digunakan protokol X saja. untuk lebih jelas tentang thinstation lihat websitenya http://thinstation.sourceforge.net . Proses pembuatan thinstation image dilakukan lewat web (TS-O-Matic), saya akan menggunakan versi 2.1.3. ini alamatnya http://thinstation.sourceforge.net

 

edit build.conf sesuaikan dengan hardware komputer client. komputer client yang saya gunakan dell optiplex gx110 p3 533MHz vga intel810 ethernet 3com59x. semakin sedikit module atau package yang dimasukkan file image akan semakin kecil sehingga booting menjadi lebih cepat.

 

build.conf (punyaku)

# start

module agpgart # AGP bus module for use with AGP video cards

module 3c59x # 3c590/3c900 series (592/595/597) Vortex/Boomerang support

module usb-hid # Needed for USB keyboards and mice

package xorg6-i810 # Intel 8xx integrated graphics chipsets

package xorg6-vesa # Generic VESA driver, use this if you don’t know what to use

package keymaps-en_us # English-United States

param rootpasswd pleasechangeme # Do Change! Console/telnet password for Root

param xorgvncpasswd pleasechangeme # VNC Access Password

param storagepasswd pleasechangeme # Password for storage server

param dialuppasswd pleasechangeme # Password for dialin account

param sambapasswd pleasechangeme # Password for samba shares when using user mode security

param bootlogo false # Want a backgound picture during boot

param bootresolution 1024×768

param defaultconfig thinstation.conf.buildtime # The file with default setup

# no other config file is found

# during boot

param basename thinstation # used for all config/tftp file names

param basepath . # used to determine path to tftp files

param localpkgs false # to determine is PKG files are to be loaded locally

param fulllocales false # Use full locale support for packages

param icaencryption false # Use ica encryption support, add 290k to image

param bootvebosity 3 # Increased vebosity when booting TS

 

#!!Special

# Leave this alone unless you can’t download (wget required on your Linux box):

 

param icaurl http://download2.citrix.com/files/en/products/client/ica/current/linuxx86.tar.gz

param tarantellaurl http://www.tarantella.com/download/clients/download.php/http/EE/3.42.903/native/tnci3li.tar

param flashurl http://fpdownload.macromedia.com/get/shockwave/flash/english/linux/7.0r25/install_flash_player_7_linux.tar.gz

param nxurl http://struktur.kemi.dtu.dk/thinstation/developer/nxclient-1.4.0-75.i386.tar.gz

 

# end

 

thinstation.conf.buildtime

# start

AUDIO_LEVEL=67

KEYBOARD_MAP=en_us

TIME_ZONE=”UTC-12:30″

SYSLOG_SERVER=local

USB_ENABLED=On

DAILY_REBOOT=On

#AUTOPLAYCD=On

CUSTOM_CONFIG=Off

RECONNECT_PROMPT=On

 

SCREEN=0

WORKSPACE=1

AUTOSTART=On

ICONMODE=AUTO

 

SESSION_0_TITLE=”XDMC”

SESSION_0_TYPE=x

SESSION_0_X_SERVER=192.168.1.254

 

SCREEN_RESOLUTION=”1024×768″

SCREEN_COLOR_DEPTH=”16″

SCREEN_HORIZSYNC=”30-64″

SCREEN_VERTREFRESH=”56-60″

#SCREEN_X_FONT_SERVER=192.168.1.2:7100

SCREEN_BLANK_TIME=10

SCREEN_STANDBY_TIME=20

SCREEN_SUSPEND_TIME=30

SCREEN_OFF_TIME=60

#MOUSE_PROTOCOL=PS/2

#MOUSE_DEVICE=/dev/psaux

MOUSE_RESOLUTION=100

#X_NUMLOCK=Off

# — Advanced Options – Experts Only

#X_DRIVER_NAME=”mga”

#X_DRIVER_BUSID=”PCI:1:0:0″

X_DRIVER_OPTION1=”swcursor On”

#X_DRIVER_OPTION2=”ActiveDevice CRT”

#X_DRIVER_OPTION3=”noDDC Off”

#X_DRIVER_OPTION4=”UseBios Off”

#X_DRIVER_OPTION5=”ShadowFB Off”

 

NET_HOSTNAME=ts_*

# end

 

copy file PXE image ke direktori tftpboot

 

/var/lib/tftpboot/

– pxelinux.0

– vmlinuz

– initrd

– pxelinux.cfg (dir)

– default

– thinstation.conf.network

 

Thinstation.conf.network sama dengan thinstation.conf.buildtime, jika alamat server atau konfigurasi komputer client berubah edit file ini

 

Hasil screenshot langkah-langkah membuat PXE image :

step-1.jpg

step-2.jpg

step-3.jpg

7. Start service

# /etc/init.d/dhcp3-server start

# /etc/init.d/tftpd-hpa start

 

8. Aktifkan xdmc edit /etc/gdm/gdm.conf-custom

# mousepad /etc/gdm/gdm.conf-custom

[daemon]

RemoteGreeter=/usr/lib/gdm/gdmgreeter

 

[security]

AllowRoot=false

DisallowTCP=false

 

[xdmcp]

Enable=true

 

 

9. restart gdm

buka tty1 (Ctrl+Alt+F1) login kemudian sudo -i

# /etc/init.d/gdm stop

# /etc/init.d/gdm start

 

10. Nyalakan komputer client.

11. Buat user client

12. install ccl billing

installasi biiling ccl sama dengan tutorial sebelumnya β€œSAM Linux LTSP on SG-Netβ€œ hanya nama paket yang dibutuhkan berbeda untuk ubuntu. ini paketnya :

# apt-get install libsqlite3-0 libsqlite3-dev libssl0.9.8 g++ libglib2.0-0 libglib2.0-dev libfox1.4 libfox1.4-dev libssl-dev

 

Semua ini berdasarkan pengalaman pribadi dan diterapkan di Sgnet jl. ronggowarsito 19 Kediri. Semua berjalan lancar sampai sekarang.

Have fun. πŸ™‚

Iklan
By iwansetiawan Posted in Linux

21 comments on “Linuxmint + thinstation (alternatif selain LTSP)

  1. Ping-balik: Test sound di thinstation client « Iwan Setiawan

  2. Kalau menurut pendapatku cepetan and bagusan thinstation.

    Di thinstation aku bisa nentuin module/driver apa yang dimasukkan dalam thinstation juga image boot splashnya. karena nggak semua module/driver dimasukkan ukuran thinstation image jadi kecil kurang dari 5mb, bootingnya jadi lebih cepat. dan nggak pakai nfs seperti di LTSP, jadi nggak ngrepotin servernya.

    hava fun πŸ™‚

  3. hem….sy punya beberapa client sebagian hanya bisa boot lewat LTSP/NFS (yaitu NetVista8363 – sudah bisa boot ke LTSP), sebagian client yang lain bisa boot menggunakan PXE. Sy tahu LTSP bisa boot dengan PXE, tapi karena NFS memang terasa membebani server. Nha pertanyaan sy, bisa gak ya 1 server diisi LTSP dan thinstation sekaligus? Sehingga yg NetVista boot ke LTSP dan yg lain boot ke thinstation. Tambah repot gak ya si server ini. Mohon pencerahan.

  4. 1 server bisa diisi LTSP dan Thinstation, di configurasi dhcpd.conf ditentukan filename untuk masing-masing client

    misal :

    subnet 192.168.1.0 netmask 255.255.255.0 {
    range 192.168.1.100 192.168.1.199
    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”;
    }
    use-host-decl-names on;

    ## Menggunakan LTSP
    host com-1{
    hardware ethernet 00:08:C7:81:9C:F5;
    fixed-address 192.168.1.101;
    filename “/lts/2.6.17.3-ltsp-1/pxelinux.0”;
    }

    ## Menggunakan thinstation
    host com-2{
    hardware ethernet 00:50:8B:76:38:D1;
    fixed-address 192.168.1.102;
    filename “/thinstation/pxelinux.0”;
    }
    }

  5. mas makasih ilmunya……
    oiya saya mo minta tutorialnya yang lengkap membangun diskless pake’ linux mint dan thinstation kirim email ga’ pa2

  6. dear fren,
    thx buat panduannya, btw aku dulu sekali pernah install LTSP dan build thinstations, tapi sekarang sudah tidak berbekas.. hehheeee..
    btw bang iwan boleh aku nimbrung, dan copy darat..
    thx alot..

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