• Jan : 19 : 2012 - The guy is simply no bones!
  • Jan : 19 : 2012 - Grandfather – the dandy at the beach
  • Jan : 17 : 2012 - Mega party
  • Dec : 1 : 2011 - Grandmother’s Awesome Tips
  • Nov : 23 : 2011 - Blue Lagoon

nstall GeoIP binaries:

yum install GeoIP GeoIP-devel

Download more databases from MaxMind and put them into /opt/geoip/share/GeoIP/:

http://geolite.maxmind.com/download/geoip/database/

Install CPanel EasyApache GeoIP module:

wget http://twiki.cpanel.net/twiki/pub/EasyApache3/CustomMods/custom_opt_mod-mod_geoip.tar.gz

tar -C /var/cpanel/easy/apache/custom_opt_mods -xzf custom_opt_mod-mod_geoip.tar.gz

  • Run EasyApache and select mod GeoIP:

/scripts/easyapache

Configure GeoIP by adding to httpd.conf (or pre_virtualhost_global.conf):

  • /usr/local/apache/conf/httpd.conf
  • /usr/local/apache/conf/includes/pre_virtualhost_global.conf

GeoIPEnable On
GeoIPDBFile "/opt/geoip/share/GeoIP/GeoIP.dat"

Install GeoIP PHP Extension:

  • Make sure that /tmp is mounted with exec option:

mount -o,remount,rw,exec /tmp

  • Install geoip via PECL:

pecl install geoip

Restart Apache:

/scripts/restartsrv_apache

Categories: Server Administration

One Response so far.

  1. I such as this publish that is good thought for that help of system complications.

Leave a Reply


Featured Video

The guy is simply...

Posted on Jan - 19 - 2012

0 Comment

Grandfather – the dandy...

Posted on Jan - 19 - 2012

2 Comments

Mega party

Posted on Jan - 17 - 2012

1 Comment

Grandmother’s Awesome Tips

Posted on Dec - 1 - 2011

2 Comments

Blue Lagoon

Posted on Nov - 23 - 2011

2 Comments

Girls taking pictures for...

Posted on Oct - 25 - 2010

0 Comment

The tribes of Namibia

Posted on Aug - 17 - 2010

0 Comment

Girl of the day...

Posted on Jul - 25 - 2010

0 Comment

Bald Britney Spears

Posted on Oct - 7 - 2010

0 Comment

Why go to the...

Posted on Jun - 14 - 2010

0 Comment

Twitter updates

RSS not configured

Sponsors