Archive for February, 2009

How to change the hostname in Ubuntu

February 26, 2009 36 comments

To change hostname in Ubuntu or any Debian variant Linux, modify the /etc/hostname and /etc/hosts.

sudo vi /etc/hostname

Change the old hostname to a new hostname.

sudo vi /etc/hosts

Also, change the oldhostname to a new hostname,               newhostname

After done, changing the /etc/hostname and /etc/hosts, you need to restart the hostname service.

sudo /etc/init.d/ stop

sudo /etc/init.d/ start

And then you log out from the shell and log in back. Once logged in, type


to check on the changes you have made for the hostname.

Categories: Linux / Unix, Tutorial, Ubuntu Tags:

Linux is sexy, too

February 24, 2009 3 comments


Categories: General, Linux / Unix Tags: ,

Ubuntu auto shutdown due to high CPU temperature

February 23, 2009 41 comments


I use a laptop with Ubuntu 8.10 installed at work. While running the some high process, the CPU temperature get really high and its automatically shutdown the system. This thing happen every 2 or 3 days and its really annoying. The syslog showed the following error message:

ACPI: Critical trip point
Critical temperature reached (100 C), shutting down.

Read more…

%d bloggers like this: