1) 创建一个新文件 /etc/yum.repos.d/city-fan.repo
2) 复制下面的到上面文件中:
[CityFan]
name=City Fan Repo
baseurl=http://www.city-fan.org/ftp/contrib/yum-repo/rhel6/x86_64/
enabled=1
gpgcheck=0
3) 操作:
yum clean all
yum install curl
1) 创建一个新文件 /etc/yum.repos.d/city-fan.repo
2) 复制下面的到上面文件中:
[CityFan]
name=City Fan Repo
baseurl=http://www.city-fan.org/ftp/contrib/yum-repo/rhel6/x86_64/
enabled=1
gpgcheck=0
3) 操作:
yum clean all
yum install curl