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 …

More

Update Clam Anti Virus Definition Offline

Not everyone has good internet access or have problem with restriction such proxy password, port blocking etc. That thing also happen  to our division, when we must doing regular maintenance including latest standar operating procedure that implement Clam Anti Virus in System Rescue CD we don’t have internet access due to security policy during attack …

More

Linux Kernel 2.6.27 is out : native support for my acer laptop wifi

Yes, huge thanks for atheros support in this kernel. More changes in summary : 2.6.27 add a new filesystem (UBIFS) optimized for “pure” flash-based storage devices, the page-cache is now lockless, much improved Direct I/O scalability and performance, delayed allocation for ext4, multiqueue networking, an alternative hibernation implementation based on kexec/kdump, data integrity support in …

More

Install Bind in ClarkConnect 4 as dns resolver

I used to use djbdns in every situation I have, so far I use it in FreeBSD and Ubuntu server 8.0.4 LTS I always try to install djbdns as first option for dns stuff. Yesterday I met situation where clarkconnect 4.2 installed as internet gateway in internet cafe, the owner choose clarkconnect as internet gateway …

More

101 nginx tutorial and articles

I’m bit lazy to read manual and prefer to read it as a case. Nginx is my favourite now, by collecting related tutorial, blog posting and articles I hope I can learn nginx more. Links I found so far : Reverse proxy in depth tutorial Step by step install Engine X (nginx) and php-fpm in …

More

Start gammu service with event.d in Ubuntu Server 8.04

By default when run gammu in Windows I can leave the window by closing it. Since I must run it in linux I must type and wait : root@dns:/etc# /gammu 0 –smsd MYSQL /etc/smsdrc bash: /gammu: is a directory root@dns:/etc# gammu 0 –smsd MYSQL /etc/smsdrc Log filename is “/etc/smsdlog” Press Ctrl+C to stop the program …

More

Relaying mail in postfix

We have new server configured, the problem is the ISP. They not allow port 25 for sending mail. Fortunately we have another existing postfix server . After edit main.cf in new server, we can send email through existing server. The only change to do is : Edit main.cf, find relayhost line and add existing server …

More

mod_unique_id: unable to gethostbyname

Yes, that message display when I try to start apache inside my jail box.  [Thu Jul 10 13:23:41 2008] [alert] mod_unique_id: unable to gethostbyname(”mailserver”) To resolve this problem, just edit /etc/hosts add record for ‘mailserver’ entry, like : ::1                     localhost localhost.my.domain 127.0.0.1               localhost localhost.my.domain 172.88.1.5              email.rasyid.com mailserver Restart apache and test it yourself.

Install Djbdns on Ubuntu Server

I’m big fan of djbdns for its simplicity. After one of our server must change to vmware server and ubuntu chosen as main OS I still want to use djbdns for handling domain resolution. Searching on internet guide for installing djbdns on ubuntu give me to this link. I try to follow it and it …

More

Mounting Hard Disk on Ubuntu

One of our server need to reconfigure. Install ubuntu server on it and will convert other hardisk for special purpose on vmware appliance. In fact the server have 4 HD, 1 for system and 3 HD dedicated for virtual appliance. This steps taken to format and mounting : 1. See current mount point and space …

More

Unknown setting: mail_privileged_group

Downgrade dovecot to 1.0.10 give me error : mail# /usr/local/etc/rc.d/dovecot start Starting dovecot. Error: Error in configuration file /usr/local/etc/dovecot.conf line 262: Unknown setting: mail_privileged_group Fatal: Invalid configuration in /usr/local/etc/dovecot.conf Find line 262, talk about mail_priveleged_group solution : change mail_privileged_group = mail into mail_extra_groups = mail and start dovecot service. Work

Download Manager for Linux

My wife ask me what application she can use for download file from internet. She just install Ubuntu. I used to use wget but I think it’s not the right time for her to touch command line After searching on internet I pick one D4X. Here’s my steps for installing download manager (D4x) in Ubuntu …

More