Categories
Linux

Install GeoIP Module For Country/City Level Geo Targeting (NGINX)

Install MaxMind C API Type the following commands to install MaxMind C API: # cd /tmp # wget http://geolite.maxmind.com/download/geoip/api/c/GeoIP.tar.gz # tar -zxvf GeoIP.tar.gz # cd GeoIP-1.4.6 # yum install zlib-devel # ./configure # make # make install You need to configure dynamic linker run time bindings as follows: # echo ‘/usr/local/lib’ > /etc/ld.so.conf.d/geoip.conf Run ldconfig to activate […]