Cara upgrade cURL terbaru CentOS 7

Panduan cara upgrade cURL versi terbaru CentOS 7 dengan LiteSpeed/OpenLiteSpeed

Update system

yum update -y

Buat file baru untuk menambahkan repository www.city-fan.org

nano /etc/yum.repos.d/city-fan.repo

Isinya

[CityFan]
name=City Fan Repo
baseurl=http://www.city-fan.org/ftp/contrib/yum-repo/rhel$releasever/$basearch/
enabled=1
gpgcheck=0

Clean dan install cURL terbaru

yum clean all
yum update curl -y

Jika gagal coba install ulang

yum update -y
yum install curl -y

Restart LSPHP

pkill lsphp
systemctl restart lsws
systemctl restart openlitespeed

Jika pakai Apache/NGINX/PHP-FPM jangan lupa restart servicenya.

Cek versi curl

curl --version

Restart server jika curl masih terdeteksi versi lama

reboot

Verifikasi versi cURL cek di situs resmi curl.se

Referensi: Upgrade cURL

Semoga bermanfaat.

Add a comment

Exit mobile version