Get Started With IP2location Debian Module
Dependencies
This library requires IP2Location BIN database to function. You may download the BIN database at
IP2Location LITE BIN Data (Free): https://lite.ip2location.com
IP2Location Commercial BIN Data (Comprehensive):https://www.ip2location.com
Installation
Add the below mentors package list into /etc/apt/sources.list
.deb-src http://mentors.debian.net/debian/ unstable main-
Download the package source.
apt-get update apt-get source libip2location -
Navigate to the package.
cd libip2location-8.0.9 -
Start compilation.
./configure make Run the testing in the test folder.
IP2Location Sample Database (BIN)
The sample BIN files have a limited scope and are only valid for the following IP ranges:
- IPv4 : 0.0.0.0 - 7.255.255.255
- IPv6 : 2a04:0000:0000:0000:0000:0000:0000:0000 - 2a04:ffff:ffff:ffff:ffff:ffff:ffff:fff