Introduction
Sometimes it may be required to reinstall EasyApache packages. For example, this could be required after recovering from file system corruption or failure. This article covers how to reinstall every EasyApache package all at once from the command line.
Procedure
1) Log in to SSH as root, or access the Terminal in WHM. More information about using the Terminal in WHM can be found below.
Using Terminal To Access the Command Line
2) Run the following command.
yum reinstall $(rpm -qa --qf "%{NAME}\n"|grep ^ea-|while read pkg;do echo -n "$pkg ";done)
3) Review the resulting transaction. If everything looks okay, confirm the transaction.