SSH a guest server in VirtualBox by port-forwarding.

Come back to Ubuntu server on VirtualBox again… Last week, I joined a training of ‘Internet GIS Technology and Web Map Server Development’ .. So this week I really need to install some software in my server.

Normally, I have installed the VirtualBox in my laptop.. So today, I just download a Ubuntu OS and install it!!

I tried to use a Ubuntu desktop 11.04 first but it was very slow (lacking).. then I decided to re-install Ubuntu OS again by using server version .. Yes, it was better.. !!! ..

I don’t know why it is very slow.. I dedicated 1.5GB of memory .. You know, I’m very impressive the Ubuntu version 9.10.. anyway, the change is normal!!

Continue reading

การติดตั้ง gtkmm ให้ใช้งานร่วมกับ Eclipse CDT

หลังจากคราวก่อนนู้น ได้ทำการติดตั้ง CDT plugin บน Eclipse เพื่อที่จะอยากเขียน C/C++ ได้บน Eclipse มาวันนี้ความต้องการก็ยังไม่จบ คือเวลาเราเขียนโปรแกรมด้วย C++ เนี้ย output ที่ได้มันออกเป็นแค่ตัวหนังสือบน Console ใน Eclipse มันเลยทำให้รู้สึกขัดหูขัดตายังไงพิกล..ทำให้เกิดอารมณ์ไม่อยากเขียนโปรแกรมได้เหมือนกัน .. ว่าแล้วก็ลองหาดูว่าบนภาษา C/C++ เวลาที่เค้าพัฒนาโปรแกรมพวก GUI เค้าใช้ทำอะไรทำ ผลปรากฏว่า ก็มาป๊ะเจ้า gtkmm พอเลื่อนมาดู Feature ก็เข้าทางพอดี

Continue reading

How to increase the resolution of Ubuntu 9.10 on virtualbox.

UbuntuSince I changed my OS on my laptop from Ubuntu to Windows7 (6-7 months ago), today I come back to use it again via VirtualBox and I still find some problem on Ubuntu. :( Anyway, the problem must make me stronger.

I use Ubuntu9.10, I’m very surprise why I cannot find /etc/X11/xorg.conf. Normally, user can edit the resolution by editing some part in this file. There is always at least one solution to solve the problem. Of cause, Google can help…

Continue reading

How to start a script by root permission at boot time on Ubuntu server 8.10.

Today my Opmanger server is down, I start it again but my service doesn’t start by automatic at boot time. So I need to start it by root permission at startup time. And this is my solution.

1. Write your script for start a service

#!/bin/bash
echo "Start my service!!!";
cd /path/of/my/script/
./run_my_script.sh

Continue reading

How to install VMWare server on Ubuntu server 8.10.

vmwareAfter I spent a lot of time to install VMWare ESXi on my server, I found problem about ESXi could not install on my disk RAID#1. Many people found this problem to :
http://communities.vmware.com/message/1142404

So if you would like to install VMWare ESXi into your server, you should check your hardware which is supported by VMWare ESXi from this link before :
http://www.vm-help.com/esx/esx3i/Hardware_support.php

I hope, it will support my server sooner .

Anyway, I came back to my original solution that is installation the VMWare server.

Continue reading

How to install trac service on Ubuntu for multiple projects using Mod_Python.

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.

Continue reading

How to install VirtualBox on Ubuntu 8.04.

1. Download VirtualBox progrom from : http://www.virtualbox.org/download/1.5.6/

2. Install this program by double click

3. Modified group for current account by this command

sudo usermod -G vboxusers -a aoddy

4. Change permission for file /dev/vboxdrv by :

sudo chmod 777 /dev/vboxdrv

5.  Install vboxdriver by

sudo /etc/init.d/vboxdrv setup

6. Start virtualbox. :D