Archive

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,

192.168.1.100               newhostname

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

sudo /etc/init.d/hostname.sh stop

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

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

hostname

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

sexy-linux

Categories: General, Linux / Unix Tags: ,

Ubuntu auto shutdown due to high CPU temperature

February 23, 2009 38 comments

Ubuntu

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: