geoip 安裝與使用

ubuntu 系統時用 –
sudo apt-get install geoip-bin geoip-database
參考: http://kbeezie.com/geoiplookup-command-line/
以下結果是顯示數量


python 程式使用
參考: https://pythonhosted.org/python-geoip/

Installation

You can get the library directly from PyPI:

If you also want the free MaxMind Geolite2 database you can in addition:


Comments