After purchasing a subscription for the MaxMind GeoIP Country database from MaxMind, follow these steps to install GeoIP Country and set it up for automatic updates:
After completing the installation you should have the GeoIP Country database installed at /usr/local/share/GeoIP/GeoIP.dat and it will be updated automatically every week.
At this point, if you have not set AdvertPro up yet you can skip the rest of these instructions and instead proceed to run its setup utility.
If you have already run the AdvertPro setup, you will need to edit the /usr/local/tomcat/webapps/ROOT/config/maxmind.properties file and enter the path to the GeoIP.dat file.
The maxmind.properties file should contain the following when you're done:
#WARNING: DO NOT EDIT THIS FILE DIRECTLY!!! #Tue Mar 02 21:41:22 EST 2004 FILENAME=/usr/local/share/GeoIP/GeoIP.dat CACHE=0
After this configuration is completed, contact technical support at Renegade Internet and ask them to enable the GeoIP Country module for your license key.
In order for AdvertPro to load and activate the GeoIP Country module, you will need to restart Tomcat.
That's it. Congratulations, you've successfully installed the GeoIP Country module!
If you have problems with AdvertPro starting back up after the installation, you may find some helpful information in the /usr/local/tomcat/webapps/ROOT/logs/error_log_YYYY-MM-DD file to assist you with troubleshooting.