There was an error in this gadget

Welcome Guys

Penggemar :D

Mount point

Written By pcbolong on Saturday, July 3, 2010 | 5:32 AM

Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
One can change the type of mount containing the directory dir:
mount --make-shared dir
mount --make-slave dir
mount --make-private dir
mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
mount --make-rshared dir
mount --make-rslave dir
mount --make-rprivate dir
mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount .
5:32 AM | 0 comments | Read More

Menanam Hypertable di Slackware 13

Written By pcbolong on Thursday, July 1, 2010 | 11:58 PM

Setelah server crawler saya yang menggunakan debian tidak bisa booting, karena bad sector pada hardisk, terpaksa saya menggunakan laptop dengan slackware nya untuk dijadikan server cadangan sampai server aslinya sembuh. Server crawler ini adalah penelitian skripsi saya. Jadi sangat penting :D . Sebelumnya, saya sudah mencoba install hypertable sebagai database crawler di slackware, tetapi selalu gagal. Kali ini dengan desakan dan pojokan, akhirnya berhasil. Ternyata hanya kurang membaca saja. ^,^

Berikut langkahnya:
1. Download file source hypertable lengkap dengan Thrift broker nya dalam bentuk archive di sini

2. Extrack file menggunakan perintah

root@darkstar:/media/disk/Master/hypertable# tar –jxvf hypertable-0.9.3.3-linux-i386.tar.bz2


3. Hasil extrack –an nya bernama hypertable-0.9.3.3-linux-i386/ . Copy folder hypertable yang ada di dalamnya ke dalam direktori /opt/ di root dengan perintah

cp –a hypertable-0.9.3.3-linux-i386/opt/hypertable /opt


4. Nah, lalu jalankan file fhsize.sh dengan perintah

/opt/hypertable/0.9.3.3/bin/fhsize.sh


Hasilnya adalah :

Setting up /var/opt/hypertable
Setting up /etc/opt/hypertable

To run Hypertable under user , do something like the following:
sudo chown -R /var/opt/hypertable /etc/opt/hypertable

For log rotation, install cronolog and (re)start Hypertable.


5. Sampai langkah di atas, berarti hypertable telah terinstal. Perlu diketahui, fhsize.sh adalah sebuah file yang berisi script yang akan memodifikasi proses instalasi agar sesuai dengan Filesystem Hierarchy Standart.
6. Setelah instalasi selesai, buatlah link dari /opt/hypertable/current ke versi yang anda miliki. Versi hypertable saya adalah 0.9.3.3. Perintahnya adalah:

cd /opt/hypertable
ln –s 0.9.3.3 current


7. Untuk mencoba apakah hypertable benar-benar sudah terinstall dan bisa berjalan, buktikan.. :D dengan perintah :

/opt/hypertable/current/bin/ht start all-servers local


Hasilnya adalah :

DFS broker: available file descriptors: 1024
Started DFS Broker (local)
Started Hyperspace
Started Hypertable.Master
Started Hypertable.RangeServer
Started ThriftBroker


8. Dan untuk menggunakan, masuk ke hypertable shell :

/opt/hypertable/current/bin/ht shell


Hasilnya :

Welcome to the hypertable command interpreter.
For information about Hypertable, visit http://www.hypertable.org/

Type 'help' for a list of commands, or 'help shell' for a
list of shell meta commands.

hypertable>



TARAAAAAAAAAAAAAA….hypertable aka noSQL variant is ready to use. Happy coding :D
11:58 PM | 1 comments | Read More