RadarURL
유닉스/리눅스

Centos GeoIP 설치

by JaeSoo posted Dec 21, 2014
?

단축키

Prev이전 문서

Next다음 문서

ESC닫기

크게 작게 위로 아래로 댓글로 가기 인쇄

GeoIP RPM으로 설치

1. 리포지터리 다운로드

Centos7

rpm -Uvh http://download.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm

Centos6(64비트)

rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

Centos6(32비트)

rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm

Centos5 (64비트)

rpm -Uvh http://download.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm

Centos5 (32비트)

rpm -Uvh http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm

2. GeoIP설치

yum install GeoIP GeoIP-devel GeoIP-data zlib-devel GeoIP-update

3. 데이터베이스 업데이트

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

 

 

출처 : http://igoni.kr/?p=217

TAG •

Articles

18 19 20 21 22 23 24 25 26 27