Khác biệt giữa các bản “Ghi chú VPS Centos and Plesk”

Từ ChipFC Wiki
Bước tới: chuyển hướng, tìm kiếm
(Upgrade OS vendor PHP on CentOS 7)
(Upgrade OS vendor PHP on CentOS 7)
Dòng 4: Dòng 4:
 
https://support.plesk.com/hc/en-us/articles/115000438614-How-to-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.
+
# Connect to the server using SSH.
* Enable EPEL repository:
+
# Enable EPEL repository:
 
<syntaxhighlight># yum install epel-release</syntaxhighlight>
 
<syntaxhighlight># yum install epel-release</syntaxhighlight>
  
* Download Remi repository package:
+
# Download Remi repository package:
<code># wget https://rpms.remirepo.net/enterprise/remi-release-7.rpm</code>
+
<syntaxhighlight># wget https://rpms.remirepo.net/enterprise/remi-release-7.rpm</syntaxhighlight>
  
* Enable Remi PHP repo:
+
# Enable Remi PHP repo:
<code># rpm -ivh remi-release-7.rpm</code>
+
<syntaxhighlight># rpm -ivh remi-release-7.rpm</syntaxhighlight>
  
* 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:
+
# 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:
<code># yum-config-manager --enable remi-php70</code>
+
<syntaxhighlight># yum-config-manager --enable remi-php70</syntaxhighlight>
  
* Update php package:
+
# Update php package:
<code># yum update php</code>
+
<syntaxhighlight># yum update php</syntaxhighlight>
  
 
== Install ionCube Loader on a CentOS 7==
 
== Install ionCube Loader on a CentOS 7==
 
https://www.rosehosting.com/blog/install-ioncube-loader-on-centos-7/
 
https://www.rosehosting.com/blog/install-ioncube-loader-on-centos-7/

Phiên bản lúc 00:06, ngày 21 tháng 3 năm 2018


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-

  1. Connect to the server using SSH.
  2. Enable EPEL repository:
# yum install epel-release
  1. Download Remi repository package:
# wget https://rpms.remirepo.net/enterprise/remi-release-7.rpm
  1. Enable Remi PHP repo:
# rpm -ivh remi-release-7.rpm
  1. 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
  1. Update php package:
# yum update php

Install ionCube Loader on a CentOS 7

https://www.rosehosting.com/blog/install-ioncube-loader-on-centos-7/