memo.xight.org

日々のメモ

GeoIP

Summary

# aptitude install geoip-bin
# cp /etc/GeoIP.conf.default /etc/GeoIP.conf


/etc/GeoIP.conf を編集

# Enter your license key here
LicenseKey YOUR_LICENSE_KEY_HERE

# Enter your User ID here
UserId YOUR_USER_ID_HERE

# Enter the Product ID(s) of the database(s) you would like to update
# By default 106 (MaxMind GeoIP Country) is listed below
ProductIds 106

% geoiplookup example.com
GeoIP Country Edition: US, United States

Reference

Bubble://ちずろぐ/
http://bubble.air-nifty.com/mapper/

Bubble://ちずろぐ/: GeoIP
http://bubble.air-nifty.com/mapper/geoip/

Debian パッケージディレクトリ検索 (バイナリ) - geoip-bin
Debian パッケージディレクトリ検索 (バイナリ) - libgeoip-dev
Debian パッケージディレクトリ検索 (バイナリ) - libgeoip1