How To Install pcp-pmda-weblog on Rocky Linux 8

In this tutorial we learn how to install pcp-pmda-weblog on Rocky Linux 8. pcp-pmda-weblog is Performance Co-Pilot (PCP) metrics from web server logs

Introduction

In this tutorial we learn how to install pcp-pmda-weblog on Rocky Linux 8.

What is pcp-pmda-weblog

This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about web server logs.

We can use yum or dnf to install pcp-pmda-weblog on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install pcp-pmda-weblog.

Install pcp-pmda-weblog 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-weblog using dnf by running the following command:

sudo dnf -y install pcp-pmda-weblog

Install pcp-pmda-weblog 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-weblog using yum by running the following command:

sudo yum -y install pcp-pmda-weblog

How To Uninstall pcp-pmda-weblog on Rocky Linux 8

To uninstall only the pcp-pmda-weblog package we can use the following command:

sudo dnf remove pcp-pmda-weblog

pcp-pmda-weblog Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/bd694a527b8e855bf45d706fe6702bb817af1e
/usr/libexec/pcp/pmdas/weblog
/usr/libexec/pcp/pmdas/weblog/Install
/usr/libexec/pcp/pmdas/weblog/README
/usr/libexec/pcp/pmdas/weblog/Remove
/usr/libexec/pcp/pmdas/weblog/check_match
/usr/libexec/pcp/pmdas/weblog/domain.h
/usr/libexec/pcp/pmdas/weblog/help
/usr/libexec/pcp/pmdas/weblog/pmns
/usr/libexec/pcp/pmdas/weblog/root
/usr/libexec/pcp/pmdas/weblog/server.sh
/usr/libexec/pcp/pmdas/weblog/weblogconv.sh
/var/lib/pcp/pmdas/weblog
/var/lib/pcp/pmdas/weblog/Install
/var/lib/pcp/pmdas/weblog/README
/var/lib/pcp/pmdas/weblog/Remove
/var/lib/pcp/pmdas/weblog/check_match
/var/lib/pcp/pmdas/weblog/domain.h
/var/lib/pcp/pmdas/weblog/help
/var/lib/pcp/pmdas/weblog/pmns
/var/lib/pcp/pmdas/weblog/root
/var/lib/pcp/pmdas/weblog/server.sh
/var/lib/pcp/pmdas/weblog/weblogconv.sh

References

Summary

In this tutorial we learn how to install pcp-pmda-weblog on Rocky Linux 8 using yum and dnf.