configuring nfs server and mounting it

NFS is one of the secure sharing system in linux. NFS is Network File System. It quite easy to setup, and more simple than samba./etc/hosts.allowportmap: Or just type ALL:localhost /etc/hosts.denyportmap: ALLlockd: ALLrquotad: ALLmountd: ALLstatd: ALL chmod a+x /etc/rc.d/rc.nfsd/etc/rc.d/rc.nfsd start nano /etc/exports/mnt/sda1,no_subtree_check,no_root_squash),no_subtree_check,no_root_squash) $exportfs -r $/etc/init.d/nfs-kernel-server start to check $exportfs […]

GPG Key error in ubuntu precise 12.04

After doing some apt-get update I got this error GPG error: precise Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <> I had this since I add a new line to update my virtualbox to 5.1 in sources.list But here is the way to correct the problem.  I got […]

Ubuntu with Englightment

Source : Ah what an amazing display. I find the englightment is very light so I try to install it to my notebook. Here are the steps I read from the source. sudo apt-get install automake autopoint build-essential ccache check \ doxygen faenza-icon-theme git imagemagick libasound2-dev libblkid-dev \ libbluetooth-dev libbullet-dev libcogl-dev libfontconfig1-dev \ libfreetype6-dev libfribidi-dev […]

Removing Zeitgeist Daemon from Ubuntu 12.04

Zeitgeist is a service that control the user log. From Wikipedia: Zeitgeist is a service which logs the users’s activities and events, anywhere from files opened to websites visited and conversations. It makes this information readily available for other applications to use in form of timelines and statistics. It is able to establish relationships between […]

Ubuntu 14.04 with Grasehotspot 3.8 error because p2p1 network card name

Menginstal grasehotspot yang merupakan software berbasis web untuk mengatur lalu lintas user internet berupa hotspot merupakan tantangan sendiri di Ubuntu 14.04. Dengan cpu dan motherboard keluaran terbaru. Seperti beberapa hari ini saya mencobanya di I5 + 8Gb DDr3 + motherboard (gigabyte mungkin) cukup memberikan pelajaran yang sangat bernilai. Pertama, ubuntu 14.04 ternyata memberikan penamaan lan […]

Manage Bandwidth With Squid

source : Contoh 1 Misalkan dalam network kita perlu untuk memberikan pembatasan-pembatasan bandwidth dikarenakan sumber internet terbatas dan group network lebih dari satu, disusun berdasarkan prioritas. admin, server dengan bandwidth unlimited staff dengan bandwidth 1,5 kbytes/sec, bila file yang diakses melebihi 64Kbte umum dengan bandwidth 1 kbytes/sec, bila file yang diakses melebihi 32 Kbyte […]

wireshark ubuntu

source : this is how to install wireshark : sudo apt-get install libcap2-bin wireshark sudo chgrp myusername /usr/bin/dumpcap sudo chmod 750 /usr/bin/dumpcap sudo setcap cap_net_raw,cap_net_admin+eip /usr/bin/dumpcap this command add extra functionality to run wireshark in user mode, don’t have to change to root desktop sudo dpkg-reconfigure wireshark-common

Bash Script to Execute Mysql Command

Here is my bash script to execute msyql command !/bin/bash tglblk=$(date –date=”8 days ago” +%Y-%m-%d) tglhapus=”$tglblk 23:00:00″ SQL=”DELETE FROM Events WHERE EndTime<=’$tglhapus’;” MYSQL_USER=”root” MYSQL_PASS=”” MYSQL_DB=”mydb” echo $SQL | mysql –user=$MYSQL_USER –password=$MYSQL_PASS $MYSQL_DB Then I put it into crontab to run at specific time.