您的位置:首页 > 运维架构 > Linux

centos 6 更新 libcurl

2015-12-23 11:28 751 查看



1) 创建一个新文件 /etc/yum.repos.d/city-fan.repo

2) 复制下面的到上面文件中:

[CityFan]
name=City Fan Repo
baseurl=http://www.city-fan.org/ftp/contrib/yum-repo/rhel5/x86_64/
enabled=1
gpgcheck=0
3) 操作:

yum clean all
yum install curl

4)
service nginx restart
service php-fpm restart

And it's done.

Observe that for other rhel/centos versions, all you have to do is specify the appropriate city-fan url.

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: