Learning On Demand Learning anything from anywhere

Archive for the ‘Linux’ Category

How to change proxy information on ubuntu server

10.06.2009 · Posted in Linux, Unix, Work

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 ...

How to change timezone on ubuntu

10.03.2009 · Posted in Linux, Unix, Work

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 ...

Update Clam Anti Virus Definition Offline

02.10.2009 · Posted in Linux

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 ...

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

10.10.2008 · Posted in Linux

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 ...

Step by step preparation step for install ubuntu server in vmware

08.25.2008 · Posted in Linux

My friend want to install ubuntu server but he little afraid to do that in production server, he ask me to give hint what he should do. I think using virtualization is enough to give more experience, so I decide to write steps taken for preparation to install ubuntu 8.04 LTS in vmware workstation. This ...

Install Bind in ClarkConnect 4 as dns resolver

08.24.2008 · Posted in Linux

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 ...

101 nginx tutorial and articles

08.06.2008 · Posted in Linux, Unix

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 ...

Start gammu service with event.d in Ubuntu Server 8.04

07.26.2008 · Posted in Linux

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 ...

Relaying mail in postfix

07.21.2008 · Posted in Linux

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 ...

mod_unique_id: unable to gethostbyname

07.11.2008 · Posted in Linux, Unix

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. mod_unique_id: unable ...

/usr/lib/vmware/bin/vmware-vmx: error while loading shared libraries

07.09.2008 · Posted in Linux

Due to the challenge for efficiency I decide to install vmware server on ubuntu server hardy heron 8.04 The installation process itself is smooth except this part : /usr/lib/vmware/bin/vmware-vmx: error while loading shared libraries vmware need a few shared libraries as requirement for register serial number. If I ignored it I’ll see repeating message that ...