How To Install recap on CentOS 8
Introduction
In this tutorial we learn how to install recap on CentOS 8.
What is recap
This program is intended to be used as a companion for the reporting provided by sysstat. It will create a set of reports summarizing hardware resource utilization. The script also provides optional reporting on Apache, MySQL, and network connections.
We can use yum or dnf to install recap on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install recap.
Install recap on CentOS 8 Using dnf
Update yum database with dnf using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install recap using dnf by running the following command:
sudo dnf -y install recap
Install recap on CentOS 8 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install recap using yum by running the following command:
sudo yum -y install recap
How To Uninstall recap on CentOS 8
To uninstall only the recap package we can use the following command:
sudo dnf remove recap
recap Package Contents on CentOS 8
/etc/recap.conf
/usr/lib/recap/core/fdisk
/usr/lib/recap/core/mysql
/usr/lib/recap/core/netstat
/usr/lib/recap/core/ps
/usr/lib/recap/core/pstree
/usr/lib/recap/core/resources
/usr/lib/recap/core/send_mail
/usr/lib/recap/plugins-available/docker_top
/usr/lib/recap/plugins-available/http_status
/usr/lib/recap/plugins-available/kernel_cmd
/usr/lib/recap/plugins-available/redis
/usr/lib/recap/plugins-available/system_locks
/usr/lib/recap/plugins-enabled
/usr/lib/systemd/system/recap-onboot.service
/usr/lib/systemd/system/recap-onboot.timer
/usr/lib/systemd/system/recap.service
/usr/lib/systemd/system/recap.timer
/usr/lib/systemd/system/recaplog.service
/usr/lib/systemd/system/recaplog.timer
/usr/sbin/recap
/usr/sbin/recaplog
/usr/sbin/recaptool
/usr/share/doc/recap
/usr/share/doc/recap/CHANGELOG.md
/usr/share/doc/recap/README.md
/usr/share/licenses/recap
/usr/share/licenses/recap/COPYING
/usr/share/man/man5/recap.conf.5.gz
/usr/share/man/man8/recap.8.gz
/usr/share/man/man8/recaplog.8.gz
/usr/share/man/man8/recaptool.8.gz
/var/log/recap
/var/log/recap/backups
/var/log/recap/snapshots
References
Summary
In this tutorial we learn how to install recap on CentOS 8 using yum and dnf.