How to install EasyApache 4 using SSH

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 minuets 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.
  • In WHM’s Update Preferences interface (Home >> Server Configuration >> Update Preferences), set the Operating System Package Updates setting to Automatic.

Free cPanel VPS License

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 --run option.

--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_profileflag.

--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.

-y | --y | -yes | --yes

Answer yes to all of the script’s yes-or-no questions.
--force

When you add the --force argument to the --run or --revert

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

How to install EasyApache 4 using SSH
21 5 100%

cPanel

1 Comment

Comments are closed.

Select Language
cPanel SSD VPS - 8x vCores + 150 GB Space + 8 GB DDR-4 Ram + Free cPanel LicenseThree Months Half Price
+ +