1. 建立centalt.repo
指令: vi /etc/yum.repos.d/centalt.repo
2. 將下面的內容貼進去
[CentALT]
name=CentALT Packages for Enterprise Linux 6 – $basearch
baseurl=http://centos.alt.ru/repository/centos/6/$basearch/
enabled=1
gpgcheck=0
3. 存檔後離開
4. 執行以下指令,啟用EPEL這個源
32 位元
rpm -ihv http://download.fedora.redhat.com/pub/epel/6/i386/epel-release-6-5.noarch.rpm
64 位元
rpm -ihv http://download.fedora.redhat.com/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm
一无所知的世界走下去才会有惊喜
It will be a surprise right know nothing about the world