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

undefined function imagecreatefromjpeg()

Call to undefined function imagecreatefromjpeg() in /home/materi/prog/cms_study/admin/pageuploadadd.php on line 88   Yes, that message show up when my friend try to access web based application. I think thats my fault Doing preliminary check : edp# pkg_info | grep php5-gd edit /etc/make.conf PERL_VER=5.8.8 PERL_VERSION=5.8.8 WITHOUT_X11=yes save. edp# whereis php5-gd php5-gd: /usr/ports/graphics/php5-gd edp# cd /usr/ports/graphics/php5-gd && make …

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

Detect more than one device for gammu

Another device for sms gateway has arrived, its Nokia 6070 I have connect it to server and need to configure : Steps taken to do that using gammu are : 1. Edit gammurc file, for example : [gammu] port = /dev/ttyUSB0 connection = at115200 [gammu1] port = /dev/ttyUSB1 connection = at115200 2. Detect it using …

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

Unknown SMSD service type (“MYSQL”)

That message show up when I install gammu from source in Ubuntu server 8.04 : root@dns:/home/edpteam# gammu –smsd MYSQL smsdrc Unknown SMSD service type (“MYSQL”) After dig in mailing list I have clue to install mysql library : apt-get install libmysqlclient15-dev apt-get install libmysqlclient15-dev Reading package lists… Done Building dependency tree Reading state information… Done …

More

Testing dns server using nslookup

DNS take important part in internet world as resolver for domain. The problem came when we think something wrong with it. Need to examine which server is in trouble. From this picture : There is two dns servers : 202.146.178.4 208.67.222.222 In windows we can check which dns server that work well using nslookup. Steps …

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

Step by Step Install AtMail Open On FreeBSD

AtMail Open, I just know if atmail have free version. Being curious on how it goes in FreeBSD box, I give it a try as my campus interface. As usual I try to record it in notepad plus screenshot for guide, perhaps useful 1. Download latest version mail# wget http://atmail.org/download/atmailopen.tgz 2. Extract and change ownership …

More