How To Install dmraid-events-logwatch on CentOS 7
Introduction
In this tutorial we learn how to install dmraid-events-logwatch
on CentOS 7.
What is dmraid-events-logwatch
Provides device failure reporting via logwatch-based email reporting. Device failure reporting has to be activated manually by activating the /etc/cron.d/dmeventd-logwatch entry and by calling the dmevent_tool (see manual page for examples) for any active RAID sets.
We can use yum
or dnf
to install dmraid-events-logwatch
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install dmraid-events-logwatch.
Install dmraid-events-logwatch on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install dmraid-events-logwatch
using yum
by running the following command:
Install dmraid-events-logwatch on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install dmraid-events-logwatch
using dnf
by running the following command:
How To Uninstall dmraid-events-logwatch on CentOS 7
To uninstall only the dmraid-events-logwatch
package we can use the following command:
References
Summary
In this tutorial we learn how to install dmraid-events-logwatch
on CentOS 7 using yum
and dnf
.