Question
How do I reinstall Apache?
Answer
- 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}
Reinstall Apache.
# /usr/local/bin/ea_install_profile --install /etc/cpanel/ea4/profiles/cpanel/default.json
Note: 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.