How to Configure Apache Pre-Installation
For cPanel & WHM version 11.40
You can configure the Apache web server before installation with our EasyApache system. To do this, you need to access another server that is already configured and runs EasyApache.
There are two interfaces that you can use to create a new EasyApache profile:
- To create your new profile via the command line:
- Open a terminal window and run the
ssh command to log in to the server that already runs EasyApache.
- Run the
- To create your new profile via the WHM interface, use the EasyApache(Update) feature in WHM (Home >> Software >> EasyApache (Apache Update)).
Create a new profile
The EasyApache configuration allows you to adjust several options. To set up your new profile, select your preferred options
in a step-by-step interface in your browser or your terminal.
Once you set up your new profile, you can run EasyApache
When you reach the Exhaustive Options List stage
- Access the Exhaustive Options List (in either interface).
- This will allow your new profile to be created. It will not need to compile and install it on the working server.
- Assign a file name, a display name, and a brief profile description to your new EA3 profile.
- Select Save Only (Do Not Build).
- This will store the new profile to
/var/cpanel/easy/apache/profile/custom/ but it will not need to recompile the working versions of Apache and PHP.
Once you create your new profile, run the
command to copy it to the
file on the new server.
Preferences, such as
Always do latest PHP
, are stored separately from the build profile. The preferences are stored in the
You can use an existing installation to create your preferences on a fresh installation of cPanel & WHM:
- On an existing installation, set your preferences with the EasyApache UI (Home >> Software >> EasyApache (Apache Update)).
- On a clean server, without cPanel & WHM installed, run the
mkdir -p /var/cpanel/easy/apache/ command.
- Copy the
/var/cpanel/easy/apache/prefs.yaml file from the existing system to the
/var/cpanel/easy/apache/ directory on the clean server.
- Put your build profile in the
/etc/cp_easyapache_profile.yaml file on the clean server.
Topic revision: r20 - 19 Sep 2013 - 18:11:59 - Main.JenniferDoubrava