Welcome to UltratechHost Forum, Guest. Please take the time to register if you haven't, or click

Tags
Author: UltratechHost - Replies: 0 - Views: 10203
How to install GeoIP and mod_geoip2 on centos for apache
How to install GeoIP and mod_geoip2 on centos for apache

Code:
1) yum install GeoIP GeoIP-devel GeoIP-data zlib-devel

Code:
2) mkdir /usr/local/share/GeoIP

3) Download the latest Country and City database files from maxmind

Code:
cd /usr/local/share/GeoIP
wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
gunzip GeoIP.dat.gz
gunzip GeoLiteCity.dat.gz