To install mod_geoip, we simply run:
You will then find the GeoIP database (GeoIP.dat) in theÂ /usr/share/GeoIP directory. As the geographic allocation of IP addresses can change over time, it’s a good idea to download the newestÂ GeoIP.dat now:
Next we restart Apache:
That’s it already!