詳しい料金体系 MaxMind – GeoIP2 Databases Databaseの精度の確認 こちらに国名を入力して確認できる。 MaxMind – GeoIP2 City Accuracy GeoIP2 Liteを使用しApacheのアクセスを国別に制限する OSはCentOS6.5を使用する。 パッケージインストール yum install mod_geoip GeoIP GeoIP-devel GeoIP-data zlib-devel データベース取得 cd /usr/share/GeoIP/ mv GeoIP.dat GeoIP.dat_org wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz gunzip GeoIP.dat.gz Apacheモジュール設
![CentOSでGeoIPを利用してHTTPアクセスを制御する | iret.media](https://cdn-ak-scissors.b.st-hatena.com/image/square/377a9c51a86d20c871561f0ba1caf65409e4f7f2/height=288;version=1;width=512/https%3A%2F%2Firet.media%2Fwp-content%2Fthemes%2Fclp_media%2Fimg%2Fcommon%2Fogp-thumbnail_1200x630.png%3F135792468)