Kennisbank
Migrating to EasyApache 4
Advices and limitations:
•Use cPanel 11.55.999.66(55.999.66) or higher version.
•Hardened EA4 limitations:
ea-php51 and ea-php52 have no PHP-FPM support. Please use mod_lsapi instead.
Follow the instructions at http://docs.cloudlinux.com/index.html?mod_lsapi_installation.html to install and configure mod_lsapi.
CentOS with EeasyApache 4
If EasyApache 4 was installed earlier on your CentOS server and you would like to migrate to CloudLinux:
1. Convert server from CentOS 6.x or 7.x to CloudLinux: (http://docs.cloudlinux.com/index.html?converting_existing_servers.html)
2. Restart Apache service.
CentOS without EasyApache 4
If EasyApache 4 was not installed earlier on your CentOS server and you would like to migrate to CloudLinux:
1. Convert server from CentOS 6.x or 7.x to CloudLinux (http://docs.cloudlinux.com/index.html?converting_existing_servers.html)
2. Run:
cd ~; wget https://repo.cloudlinux.com/cloudlinux/sources/cloudlinux_ea3_to_ea4; sh cloudlinux_ea3_to_ea4 --convert
(Find examples of cloudlinux_ea3_to_ea4 script usage below).
CloudLinux without EasyApache 4
Install EasyApache4 on clean CloudLinux from ISO image or migrate to EasyApache4 on existings CloudLinux servers:
1. Install cPanel.
2. Run:
cd ~; wget https://repo.cloudlinux.com/cloudlinux/sources/cloudlinux_ea3_to_ea4; sh cloudlinux_ea3_to_ea4 --convert
(Find examples of cloudlinux_ea3_to_ea4 script usage below).
Revert back from EasyApache 4 to EasyApache 3
To migrate back to EA3 for CloudLinux run:
cd ~; wget https://repo.cloudlinux.com/cloudlinux/sources/cloudlinux_ea3_to_ea4; sh cloudlinux_ea3_to_ea4 --revert
More about cloudlinux_ea3_to_ea4 script
About cloudlinux_ea3_to_ea4 migration script parameters:
cloudlinux_ea3_to_ea4 [ADDITIONS] ACTIONS
Usage:
-h, --help Print this message |
Actions (required parameter, shows what should script do):
-c, --convert Convert EA3 to EA4 -r, --revert Revert to EA3 |
Additions (optional parameter, adds to action installation of extra components):
-m, --mod_lsapi Install mod_lsapi -p, --mod_passenger Install alt-mod-passenger -a, --altphp Install/Update alt-php |
Note. ADDITIONS parameters can't be used without ACTIONS
Examples:
If you want to install EA4 with mod_lsapi and update/install alt-php:
sh cloudlinux_ea3_to_ea4 --convert --mod_lsapi --altphp
If you want to install EA4 with mod_lsapi, alt_mod_passenger and update/install alt-php:
sh cloudlinux_ea3_to_ea4 --convert --mod_lsapi --altphp --mod_passenger
To restore EA3 with mod_lsapi:
sh cloudlinux_ea3_to_ea4 --revert --mod_lsapi