rpm -Uvh

rpm -Uvh

Install EPEL repo first.

yum install geoip

Install geoip and try geoiplookup

wget wget wget gunzip GeoIP.dat.gz gunzip GeoIPASNum.dat.gz gunzip GeoLiteCity.dat.gz sudo cp GeoIP.dat GeoIPASNum.dat GeoLiteCity.dat /usr/share/GeoIP/

Install geoip databases from Maxmind website

geoiplookup -f /usr/share/GeoIP/GeoLiteCity.dat

Try again to locate city name from database file "GeoLiteCity.dat"

P.S. It is another online method to check : curl

Server is hosted by Alanstudio
Linux Operating System

Recommend screen resolution 1024 x 768 / IE / FireFox
Alan Studio © 2007 by Alan Cheung Hin Lun. All rights reserved.