标签:
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
标签:
原文地址:http://www.cnblogs.com/yangxiaofei/p/4953677.html