Archive for the ‘server’ Category

Changing Ubuntu Server Timezone by command line

When you install Ubuntu server distribution, you would got problem when choosing the time zone, especially for Indonesian time zone. Because I had install ubuntu server several times, but you can only choose US time.

So, the easiest way is trying to change the time zone after the installation process is completed. Here is that simple command


koro@kecapi:/etc$ sudo dpkg-reconfigure tzdata
[sudo] password for koro:

Current default timezone: 'Asia/Jakarta'
Local time is now: Wed Apr 14 10:46:47 WIT 2010.
Universal Time is now: Wed Apr 14 03:46:47 UTC 2010.

koro@kecapi:/etc$ date
Wed Apr 14 10:52:47 WIT 2010

Do not forget to choose your time area according to your geographic region.

Virtual Machine Software

The words “virtual” or “virtualization” even “emulator” is seen more popular this decade. Right now I’m more focusing on the animal because it’s part of my hobby and job.

I just want to share here, even you may be already know and maintaining the systems. But I think the others want to know accord to my humble opinion. Below is the list of Virtual Machine Software or Software Emulator

  1. XEN
  2. OpenVZ
  3. KVM
  4. Virtuozzo

You can know more about that software when you try to google them. There are many other software that can be used as software emulator or virtual machine. If I have more time, I will try to write about what the advantage and disadvantage using that software

Blogging again and server uptime

Long time ago I didn’t update this blog. The last article told about my server uptime. But today I try to check again using uptime command on my linux box. Here is the result:

[koro@server ~]$ uptime
19:59:32 up 441 days, 3 min, 1 user, load average: 0.00, 0.00, 0.00

Yeah, it’s 441 days…

Hopefully no power blackout from State Power Plant (PLN) and no problem with the power supply again on this server. I just want to make it happen with 1000 days server uptime!

Server is still up for 300 days!

One my server is currently running for 300 days.

Below is output of top command.

top – 15:06:50 up 300 days, 19:11, 1 user, load average: 0.01, 0.02, 0.00
Tasks: 116 total, 1 running, 115 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.2% us, 0.2% sy, 0.0% ni, 99.7% id, 0.0% wa, 0.0% hi, 0.0% si,
Mem: 512180k total, 452740k used, 59440k free, 17696k buffers
Swap: 1048568k total, 219896k used, 828672k free, 39216k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1 root 16 0 1996 576 552 S 0 0.1 1:47.84 init
2 root RT 0 0 0 0 S 0 0.0 0:14.55 migration/0
3 root 34 19 0 0 0 S 0 0.0 0:00.10 ksoftirqd/0
4 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/0
5 root RT 0 0 0 0 S 0 0.0 0:07.72 migration/1
6 root 34 19 0 0 0 S 0 0.0 0:00.16 ksoftirqd/1
7 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/1
8 root 10 -5 0 0 0 S 0 0.0 0:00.22 events/0
9 root 10 -5 0 0 0 S 0 0.0 0:00.23 events/1
10 root 10 -5 0 0 0 S 0 0.0 0:00.00 khelper
11 root 10 -5 0 0 0 S 0 0.0 0:00.01 kthread
14 root 10 -5 0 0 0 S 0 0.0 0:34.76 kblockd/0
15 root 10 -5 0 0 0 S 0 0.0 0:36.54 kblockd/1
16 root 14 -5 0 0 0 S 0 0.0 0:00.00 kacpid
81 root 10 -5 0 0 0 S 0 0.0 0:00.00 khubd
144 root 15 0 0 0 0 S 0 0.0 1:00.31 kswapd0
145 root 11 -5 0 0 0 S 0 0.0 0:00.00 aio/0

Hopefully this server is still up until one year. This server is also running more than 18 months without any reboot when it still used freebsd for its operating system.

Return top