Introduction
It may be necessary to reinstall Apache. This article provides the steps to reinstall Apache.
Procedure
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
- Remove the existing package.
- RHEL-based systems
rpm -e --nodeps --justdb ea-apache24
- Ubuntu
apt purge ea-apache24*
mv /etc/apache2{,.bak}
- RHEL-based systems
- Reinstall Apache.
/usr/local/bin/ea_install_profile --install /etc/cpanel/ea4/profiles/cpanel/default.json
Please note that if you have saved a custom profile, you should use/etc/cpanel/ea4/profiles/custom/$profilename.json
, where $profilename is the profile's name, instead of/etc/cpanel/ea4/profiles/cpanel/default.json
.
Comments
0 comments
Article is closed for comments.