How to install EasyApache 4 using SSH
EasyApache 4 replaces the old EasyApache 3 system with some great features. Do you remember having to compile each PHP extension then you had to wait while the server built the requested configuration?. This regularly took 30 minutes at least and was such a ball ache to perform meant many people put off updating their server with security patches which were a huge security risk.
Now in EasyApache 4, there is no waiting at all, simply select your modules and PHP extensions and deploy them to your server. It takes less than 60 seconds to be installed or updated You can install EasyApache 4 from the command line using ssh and a program like Putty. We’re going to assume you already have a cPanel VPS server or cPanel dedicated server running the old EasyApache 3 system. It’s simple to upgrade and install EasyApache 4.
First, you must activate the setting RPMUP if you install EasyApache 4 on your system. The system enables this setting by default. To do this, perform one of the following steps:
Open the /etc/cpupdate.conf file and set the RPMUP key’s value too daily.
nano /etc/cpupdate.conf
In WHM’s Update Preferences interface (Home >> Server Configuration >> Update Preferences), set the Operating System Package Updates setting to Automatic.
Next, proceed to Install EasyApache 4
Log in as the root user on your cPanel system and run the below command;
/scripts/migrate_ea3_to_ea4 --run
This script will perform the migration from EasyApache 3 to EasyApache 4 and you shouldn’t encounter any issues at all. We have now completed over 300 migrations using this script and all have been totally flawless. You do have some available arguments to run with this script;
The /scripts/migrate_ea3_to_ea4 script accepts the following arguments, just add them to the end of the migration command including the –run argument:
Arguments
|
Description
|
---|---|
--run |
Run the script. Important: You must include the |
--help |
Display the help information. |
--revert |
Revert the system to the previous version and configuration. |
--skip_convert |
Do not convert and install the EasyApache 3 profile. This flag installs
the EasyApache 4 cPanel Default Profile unless you use the
|
--install_profile |
Do not convert the EasyApache 3 profile. Instead, install the specified profile. |
--convert_fail |
When you convert an EasyApache 3 profile to an EasyApache 4 profile, this flag prevents the execution of the script’s error-correction code. Warning: This may cause a failure when you provision your system. However, you may wish to use this flag for tests. |
|
Answer yes to all of the script’s yes-or-no questions. |
--force |
When you add the arguments, the system ignores the protection checks. Warning: This may cause a failure when you provision your system. |
--reinstall |
Yum attempts to install the required EasyApache 4 RPMs and
attempts to reinstall any currently-installed EasyApache 4 packages. |
How was this article? – Install EasyApache 4
You might also like
More from cPanel
How To Install A Cloudflare Origin SSL Certificate In cPanel
Free SSL Certificates from places like cPanel or Let's Encrypt are great. When Let's Encrypt first introduces free SSL Certificates …
Create a SWAP partition on CentOS, RHEL and AlmaLinux without a reboot
SWAP is a memory type that Linux NVMe VPS Servers use to process requests. Memory will be held in SWAP …
Help fixing Error: last request failed: [AUTH] Authentication failed.
The Error: last request failed: [AUTH] Authentication failed error can be caused by a range of things. It could be …
1 Comment
[…] No one should be using Easy Apache 3 anymore. If you are upgrade to Easy Apache 4 […]