How To Install pcp-pmda-apache on Rocky Linux 8
Introduction
In this tutorial we learn how to install pcp-pmda-apache
on Rocky Linux 8.
What is pcp-pmda-apache
This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about the Apache webserver.
We can use yum
or dnf
to install pcp-pmda-apache
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install pcp-pmda-apache.
Install pcp-pmda-apache on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install pcp-pmda-apache
using dnf
by running the following command:
sudo dnf -y install pcp-pmda-apache
Install pcp-pmda-apache on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install pcp-pmda-apache
using yum
by running the following command:
sudo yum -y install pcp-pmda-apache
How To Uninstall pcp-pmda-apache on Rocky Linux 8
To uninstall only the pcp-pmda-apache
package we can use the following command:
sudo dnf remove pcp-pmda-apache
pcp-pmda-apache Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/54/9179888a5b07a33e65e867fdb7aabf714c67e3
/usr/libexec/pcp/pmdas/apache
/usr/libexec/pcp/pmdas/apache/Install
/usr/libexec/pcp/pmdas/apache/README
/usr/libexec/pcp/pmdas/apache/Remove
/usr/libexec/pcp/pmdas/apache/domain.h
/usr/libexec/pcp/pmdas/apache/help
/usr/libexec/pcp/pmdas/apache/pmdaapache
/usr/libexec/pcp/pmdas/apache/pmns
/usr/libexec/pcp/pmdas/apache/root
/var/lib/pcp/pmdas/apache
/var/lib/pcp/pmdas/apache/Install
/var/lib/pcp/pmdas/apache/README
/var/lib/pcp/pmdas/apache/Remove
/var/lib/pcp/pmdas/apache/domain.h
/var/lib/pcp/pmdas/apache/help
/var/lib/pcp/pmdas/apache/pmdaapache
/var/lib/pcp/pmdas/apache/pmns
/var/lib/pcp/pmdas/apache/root
References
Summary
In this tutorial we learn how to install pcp-pmda-apache
on Rocky Linux 8 using yum and dnf.