Thursday, March 22, 2012

Reborn

Setelah lama gak di update, akhirnya dengan agak maksa, saya isi lagi dengan postingan (sampah). tapi gak apa. mudah-mudahan kedepannya tetep ada ide untuk mengisi blog ini,

Tuesday, November 2, 2010

Edit icon ubiquity dan disk name ubuntu 10.04

1. Mengganti icon ubiquity

/usr/share/icons/Humanity/apps/48
/usr/share/icons/Humanity/apps/64

ganti icon ubiquity.svg dengan gambar .svg buatanmu.

2. Mengganti nama ubuntu 10.04 LTS pada ubiquity

jika anda me-remaster menggunakan uck, buka folder ~/tmp/remaster-iso/.disk
edit file bernama "info".
Kemudian ganti deh nama ubuntu dengan nama distro buatanmu.

semoga berhasil.. :)

Friday, August 27, 2010

LTSP - Fat Client

Akhirnya, setelah berhasil membuat server LTSP berbasis Thin Client. Sekarang saatnya kita mengembangkan 'si kurus'. Saya sempat bingung mencari tutorial untuk ini, tapi akhirnya sayberhasil menemukannya di help.ubuntu.com.

Hal yang pertama yang harus kita lakukan ketika kita akan membangun sebuah server LTSP-Fat Client adalah menginstall paket-paket yang mendukung NFS (Networking File System).

sudo apt-get install portmap nfs-kernel-server nfs-common
echo "/home 192.168.0.0/24(rw,no_root_squash,async)" | sudo tee -a /etc/exports /dev/null
sudo exportfs -a




Selanjutnya kita perlu memasukan plugin untuk Fat Client ini. Download di sini
Simpan file tersebut di /usr/share/ltsp/plugins/ltsp-build-client/Ubuntu/030-fatclient

Kemudian kita mulai membangun lingkungan chroot untuk si fatclient.

udo ltsp-build-client --base /opt/ltsp/ --chroot fati386 --prompt-rootpass


Agar proses build-client kita berjalan lebih cepat. Gunakan mirror terdekat.
Caranya adalah sebagai berikut:

sudo ltsp-build-client --base /opt/ltsp/ --chroot fati386 --prompt-rootpass --mirror=ftp://ftp.itb.ac.id/pub/ubuntu --security-mirror=ftp://ftp.itb.ac.id/pub/ubuntu


Sekarang kita buat sources.list komputer kita dengan chroot sama.

sudo cp /etc/apt/sources.list /opt/ltsp/fati386/etc/apt/sources.list


Selanjutnya kita mulai masuk ke lingkungan chroot.

sudo chroot /opt/ltsp/fati386


apt-get update


Mulai mengembangkan lingkungan chroot menjadi fatclient.

mount /proc -t proc /proc  

mount /sys -t sysfs /sys

Menginstall desktop enviroment yang kita inginkan.

apt-get install edubuntu-desktop

or

apt-get install kubuntu-desktop or

apt-get install ubuntu-desktop or

apt-get install kubuntu-kde4-desktop


Install juga aplikasi pendukung nfs client.

apt-get install portmap nfs-common

Buat file bash untuk mengaktifkan nfs.

nano /etc/nfsmounts.sh


# Start portmap in case it gets started further on down the line (as is the case in ltsp startup)
# if the ping command returns a "0 received" then we assume server down
# we then do nothing, because there inst a way to mount that NFS
# if we don't get the "0" in received then we assume it already up and then run the Mount

sudo /etc/init.d/portmap restart

if [ "$(ping -c 3 192.168.0.254 | grep '0 received')" ]
then
: ; exit 1
else
# check to see if your NFS is mounted
# : means if your NFS is there then doing nothing
# if its not then mount your NFS

if df | grep -q '192.168.0.254:/home'
then :
else
mount -t nfs 192.168.0.254:/home /home
fi



chmod o+x /etc/nfsmounts.sh

umount /sys
umount /proc


exit

Sekarang saatnya update image ltsp.

sudo ltsp-update-image -a fati386 -b /opt/ltsp -p 2001



Terakhir edit file /etc/ltsp/dhcp.conf
authoritative;
02
03 subnet 192.168.61.0 netmask 255.255.255.0 {
04 range 192.168.61.200 192.168.61.250;
05 option domain-name "example.com";
06 option domain-name-servers 192.168.61.2;
07 option broadcast-address 192.168.61.255;
08 option routers 192.168.61.2;
09 # next-server 192.168.61.1;
10 # get-lease-hostnames true;
11 option subnet-mask 255.255.255.0;
12 option root-path "/opt/ltsp/i386";
13 if substring( option vendor-class-identifier, 0, 9 ) = "PXEClient" {
14 filename "/ltsp/fati386/pxelinux.0";
15 } else {
16 filename "/ltsp/fati386/nbi.img";
17 }
18 }


Sekian. Pengujian dapat dilakukan secara fisik maupun virtual,
selama client mendukung boot melalui ethernet card

sumber: http://help.ubuntu.com