centos升级curl支持tls1.2

centos6:

rpm -Uvh http://www.city-fan.org/ftp/contrib/yum-repo/rhel6/x86_64/city-fan.org-release-2-1.rhel6.noarch.rpm

centos7:

rpm -Uvh http://www.city-fan.org/ftp/contrib/yum-repo/rhel7/x86_64/city-fan.org-release-2-1.rhel7.noarch.rpm


yum –showduplicates list curl –disablerepo=”” –enablerepo=”city“

vi /etc/yum.repos.d/city-fan.org.repo
enabled=1

yum install curl