copy easyapache4 to use it in new server?

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,222
463
Hello,

Installation Guide - Customize Your Installation - Documentation - cPanel Documentation explains the steps required to provision an EasyApache 4 profile on a new install:

EasyApache 4 allows you to preconfigure your profile before you install cPanel & WHM on your server.

To preconfigure your profile before install, create the /etc/cpanel_initial_install_ea4_profile.json file. This file must be a valid JSON file and must be a valid EasyApache 4 profile. The install process will install this profile and then copy it to the /etc/cpanel/ea4/profiles/custom/ directory when completed.

Note:

If your JSON file contains errors, no data, or the installation fails, the system installs the default EasyApache 4 profile instead.

For more information about how to create an EasyApache 4 profile, read our EasyApache 4 - Create a Profile documentation.
Let us know if this helps.

Thanks!