Category: linux

Trac LogoPreviously I have installed a DNS service on my Ubuntu server. Today I would like to install a Trac service which supports for multiple projects using Mod_Python on Apache.


Condition :

  1. I would like to use sub-domain for trac service that is trac.aoddy.com
  2. Trac service can support multiple projects such as trac.aoddy.com/Project1, trac.aoddy.com/Project2
  3. Trac service supports SVN service too.

» Read the rest of the entry..

Today, I would like to monitor my internet network bandwidth. When my internet network is slow I often have questions from my boss “Why my internet network is slow, who are using a lot of internet bandwidth?”. I cannot answer these questions because I don’t have informations of current network status.

First step, I think I should know which IP Address is using a lot of internet bandwidth and second step I should know who is owner that IP Address.

The answer of the first step , I will use ntop software to answer this question. For the second step, I will fix all MAC Address of Laptop’s wireless card with IP Address on a DHCP Server. And this is my solutions :

» Read the rest of the entry..

พอดีไปเจอมา ใน Slide ของ Kevin Gehrke เกี่ยวกับการทำให้ เราสามารถ Remote ไปที่เครื่อง VMWare virtual machines ที่ถูกใช้งาน บน VMWare Server.

Topology

» Read the rest of the entry..

เสาร์อาทิตย์ที่ผ่าน มาก็ได้มีโอกาส กลับไปมหาวิทยาลัย ที่พิษณุโลกมาครับ กลับไปคราวนี้ก็มีภาระกิจสำคัญคือ “การกลับไปสอน Shell Script ให้กับรุ่นน้องที่ มหาวิทยาลัย ก็ผ่านมาได้ด้วยดีครับ น้องๆ ก็โอเค ตั้งใจเรียนกันทุกคน

มาถึงวันนี้ก็เลยถือโอกาส เอาตารางที่ได้เอาไปสอน น้องๆ มา Post เก็บได้ พร้อม กับ Slide ที่เอาไปสอนในครั้งนี้ด้วย

» Read the rest of the entry..

By default , you cannot start DHCP Service on OpenNMS server because OpenNMS server has installed DHCP client. If you want to start DHCP Server on same OpenNMS server , please stop DHCP client before.

These are steps :
» Read the rest of the entry..

Backup
1.  Please check your Thunderbird profile directory by this command.

$ ls -la * | grep .mozilla-thunderbird
-rw-r–r–  1 sketkeaw sketkeaw 32053404 2008-05-30 10:59 mozilla-thunderbird.tgz

2. Start backup

$ cd ~
$ tar cvfz mozilla-thunderbird-[YYYYMMDD].tgz .mozilla-thunderbird

** YYYYMMDD such as 20080525 (2008 May, 28th)

3. Backup completed !!!.

» Read the rest of the entry..

After I installed Ubuntu 8.04. I needed to mount NFS from my server but I could not mount because I did not install NFS client on by laptop so these are steps for mount NFS .

» Read the rest of the entry..

Yesterday, my boss wanted to start his new domain on old web server. I ever heard about apache could start many domain on one server by virtual host. I tried to find document for configuration and I found….

» Read the rest of the entry..

You can see detail in file /proc/cpuinfo. If you find “lm” (long mode) flag that mean your server can run 64 bit Kernal :D.
» Read the rest of the entry..

หลังจากที่ ติดตั้ง VMWare server บน Ubuntu 7.10 ก็พบกับปัญหาว่า VMware มันไม่เห็น USB ของ Thumb drive ผมก็เลยต้องมาวิธี Fix

1. เข้าไปแก้ไขไฟล์ /etc/init.d/mountdevsubfs.sh ตั้งแต่บรรทัดที่ 42 - 45 โดยการ Uncomment ออก ก็จะได้ดังนี้

:
mkdir -p /dev/bus/usb/.usbfs
domount usbfs “” /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
ln -s .usbfs/devices /dev/bus/usb/devices
mount –rbind /dev/bus/usb /proc/bus/usb
:

2. แก้ไขไฟล์ /etc/fstab โดยเพิ่ม

:
usbfs /proc/bus/usb usbfs auto 0 0
:

ไว้ที่บรรทัดสุดท้ายของ ไฟล์ /etc/fstab

3. Start service โดยใช้ command ดังนี้

sudo /etc/init.d/mountdevsubfs.sh start