For CentOS 6, 64bit
1. Download the rpm of epel.
# wget http://ftp-srv2.kddilabs.jp/Linux/distributions/fedora/epel/6/x86_64/epel-release-6-x.noarch.rpm
check the latest epel version.
2. Install the package.
# rpm -ivh epel-release-6-7.noarch.rpm
3. Edit epel conf file to enable epel repository.
# vi /etc/yum.repos.d/epel.repo
[epel]
name=Extra Packages for Enterprise Linux 5 - $basearch
#baseurl=http://dl.fedoraproject.org/pub/epel/5/$basearch
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=$basearch
failovermethod=priority
enabled=1
priority=2
4. check if epel repository is working.
# yum install geoip
No comments:
Post a Comment