Installing mod_geoip on Apache 2.2

Installing mod_geoip on Apache 2.2
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

1) Downalod the latets GEOIP  package from  http://geolite.maxmind.com/download/geoip/api/c/ and install it

# wget -c  http://geolite.maxmind.com/download/geoip/api/c/GeoIP-1.4.6.tar.gz
# tar -xzf GeoIP-1.4.6.tar.gz
# cd GeoIP-1.4.6/
# ./configure
# make
# make install

2) Download and install  latest mod_geoip2 from  http://geolite.maxmind.com/download/geoip/api/mod_geoip2/

# wget -c  http://geolite.maxmind.com/download/geoip/api/mod_geoip2/mod_geoip2_1.2.5.tar.gz
# tar -xzf  mod_geoip2_1.2.5.tar.gz
# cd mod_geoip2_1.2.5/
# /usr/local/apache/bin/apxs -lGeoIP  -cia mod_geoip.c

3) Restart apache

Popularity: 8%

March 9, 2010 Post Under Articles

Leave a Reply