Ghi chú VPS Centos and Plesk

Từ ChipFC Wiki
Phiên bản vào lúc 00:01, ngày 21 tháng 3 năm 2018 của BS135 (Thảo luận | đóng góp)
Bước tới: chuyển hướng, tìm kiếm


Upgrade OS vendor PHP on CentOS 7

https://support.plesk.com/hc/en-us/articles/115000438614-How-to-upgrade-OS-vendor-PHP-on-CentOS-7-

  • Connect to the server using SSH.
  • Enable EPEL repository:

# yum install epel-release

  • Download Remi repository package:

# wget https://rpms.remirepo.net/enterprise/remi-release-7.rpm

  • Enable Remi PHP repo:

# rpm -ivh remi-release-7.rpm

  • Make sure yum-utils package is installed and enable appropriate Remi repository. As an example to upgrade OS vendor PHP to version 7 enable the following repository:

# yum-config-manager --enable remi-php70

  • Update php package:

# yum update php