Tag Archives: geoip

installing geoip on WHM

Basically guide ni sama je kalau gunakan apache. Cuma jika kita menggunakan WHM, kita seboleh-bolehnya elakkan edit fail httpd.conf secara langsung. Berikut adalah langkah-langkah untuk memasang geoip pada server kita.

1. Install geoip c library

1. SSH ke server anda
2. Muat turun source code geop c library dan extract.

wget http://geolite.maxmind.com/download/geoip/api/c/GeoIP.tar.gz
tar xzvf GeoIP.tar.gz

Continue reading

installing nginx geoip ubuntu server

installing geoip is pretty easy but sometime its a bit tricky. To ensure I’m not going to the same mistake, I do the following notes. Perhaps can help those facing same tricky mistake.

1. InstallĀ libgeoip-dev

aptitude install libgeoip-dev

2. Compile your nginx and include –with-http_geoip_module

./configure --with-http_geoip_module

Verify your nginx installation by typing

nginx -V

Watch –with-http_geoip_module . If you can see –with-http_geoip_module in your nginx -V result, thats mean geoip module successfully installed.
Continue reading