How to change proxy information on ubuntu server

New motherboard has come and I ask my friend to install Ubuntu Hardy . Everything is fine except proxy section when I try to apt-get update.

# apt-get update

Err hardy-security Release.gpg
Could not resolve ‘;3128’
Err hardy-security/main Translation-en_US
Could not resolve ‘;3128’
Err hardy-security/restricted Translation-en_US
Could not resolve ‘;3128’
Err hardy-security/universe Translation-en_US
Could not resolve ‘;3128’

As you see proxy information is incorrect, there is a ; sign not :

Continue reading

How to change timezone on ubuntu

One of my friend server must get reconfigure its clock each time, specially when the server get reboot after lamp problem.

Until he realized the timezone is different.

Here’s quick way to change it :

# dpkg-reconfigure tzdata

Current default timezone: ‘Asia/Jakarta’
Local time is now:      Sat Oct  3 13:02:53 WIT 2009.
Universal Time is now:  Sat Oct  3 06:02:53 UTC 2009.


# date

Sat Oct  3 13:03:15 WIT 2009

Great, it fix.

WARNING: Found /var/db/mysql/my.cnf

MySQL 5.4 beta already hit freebsd ports and I eager to try it after read a lot of review.
Everyhing seem OK until I want to start the server.

# /usr/local/etc/rc.d/mysql-server restart
mysql not running? (check /var/db/mysql/

hmmm, perhaps I can try mysqld_safe

# /usr/local/bin/mysqld_safe &
[1] 87164
proxy2# WARNING: Found /var/db/mysql/my.cnf
Datadir is deprecated place for my.cnf, please move it to /usr/local/etc

Starting mysqld daemon with databases from /var/db/mysql
STOPPING server from pid file /var/db/mysql/
090725 10:46:54 mysqld ended

What, after a moment I try to follow it.

# mv /var/db/mysql/my.cnf /usr/local/etc/

restart again and still not work, after remove it completely I see it work.

# rm /usr/local/etc/my.cnf

Hmm, I think I have to downgrade back to 5.0.84 and wait till 5.4 final 🙂

in Work | 155 Words

How to Setting ntp client in Mikrotik

RouterBoard have special behavior, that’s my observation after install MT in hard disk and then bought RB433AH.

In RB433AH time setting automatically to January 1970 every time its get restart. Till I use ntp (network time protocol) client in MT.

The step to set ntp client in MT :

1. Click ‘System’ -> NTP Client.


2. Enter information of ntp server.

I use google for shortcut, enter search term :

‘ntp server for Singapore’, resulted in :

Continue reading

in Work | 154 Words

Setting up RouterBoard RB433 AH

New Mikrotik RB has arrived, its RB433AH wireless indoor.

As I never use mikrotik before it’s time to configure it for first use :

1. Download neigbour viewer for windows from mikrotik.


2. Unzip the files using winzip or winrar.

Double click to launch neighbour viewer

At first time IP address will display it means no ip address assigned.

To assign new address double click its MAC address.

Continue reading

in Work | 126 Words