Sophie

Sophie

distrib > Mageia > 6 > armv5tl > media > core-release > by-pkgid > 9bc3177e8d9dd9fee2308829546eca00 > files > 3

geoipgen-0.4-9.mga6.noarch.rpm

INSTALL THE MAXMIND DATABASE

Download the file GeoIPCountryCSV.zip from www.maxmind.com. Extract GeoIPCountryWhois.csv
and put into a location in geoipgen's search path.

Copy and paste the following commands into your shell:

	wget http://www.maxmind.com/download/geoip/database/GeoIPCountryCSV.zip
	unzip GeoIPCountryCSV.zip
	mv GeoIPCountryWhois.csv /usr/local/share/ || ( mkdir $HOME/.geoipgen ; mv GeoIPCountryWhois.csv "$HOME/.geoipgen/")


FOR UNINSTALLED USE

Put GeoIPCountryWhois.csv in the same directory as geoipgen


INSTALLING GEOIPGEN

For system wide use copy geoipgen to /usr/local/bin
Per user installation, copy to ~/bin


DEPENDS

Depends on ruby. To install under Ubuntu / Debian try:
	$ sudo apt-get install ruby