1、Create a city-fan.org yum repository file:
#vi /etc/yum.repos.d/city-fan.repo
[CityFan]
name=City Fan Repo
baseurl=http://www.city-fan.org/ftp/contrib/yum-repo/rhel$releasever/$basearch/
enabled=1
gpgcheck=0
2、Enable the EPEL repository:
# yum install epel-release -y
3、Rerun the update:
# yum install curl libcurl
4、Verify the version:
# curl --version
5、Restart all cURL dependent services:
参考:
https://talk.plesk.com/threads/how-to-update-curl-on-centos-7-9-2009-core-and-plesk-obsidian-18-0.360808/
https://qiita.com/tkprof/items/5460b8d603cbbc542c8c
[
本帖最后由 linda 于 2022-7-13 23:04 编辑 ]