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.
(More …)
