How to change proxy information on ubuntu server

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

# apt-get update

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

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

read more »

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.

Check

# date

Sat Oct  3 13:03:15 WIT 2009

Great, it fix.

How to extend / renew flickr pro account

My wife flickr account pro almost expire, it will expire on October 2009.

Since she stay at my mother in law house with our newly born child she ask me to renew her account on flickr.

I thought the process is quite clear but I’ll post it for some people that might have difficult on doing this procedure.

1. Login to flickr

A confirmation message will appear, click on head over to the upgrade page.

flickr1

Click on Buy Now button

read more »

Howto install Aptana studio with php support

I’m old fashion student who use phpcoder as tool for coding php until my friend suggest aptana editor with php support. When everything configured properly I’ll have php interpreter for immediate debug purpose and I think it’s suitable for new php user :-)

I decide to give this software a try and here it goes.

Install Aptana

Aptana studio available from their website, I use free version. (1.5)

After download it I run installer to get installation work.

Welcome to Aptana Studio 1.5 setup, click Next to start.

install_aptana

read more »

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/proxy2.host.com.pid)

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/proxy2.host.com.pid
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 :-)