How To Install mod_security-mlogc.x86_64 on Amazon Linux 2
In this tutorial we learn how to install mod_security-mlogc.x86_64 in Amazon Linux 2. mod_security-mlogc.x86_64 is ModSecurity Audit Log Collector
Introduction
In this tutorial we learn how to install mod_security-mlogc.x86_64
on Amazon Linux 2.
What is mod_security-mlogc.x86_64
This package contains the ModSecurity Audit Log Collector.
We can use yum
to install mod_security-mlogc.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install mod_security-mlogc.x86_64.
Install mod_security-mlogc.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install mod_security-mlogc.x86_64
using yum
by running the following command:
sudo yum -y install mod_security-mlogc.x86_64
How To Uninstall mod_security-mlogc.x86_64 on Amazon Linux 2
To uninstall only the mod_security-mlogc.x86_64
package we can use the following command:
sudo yum remove mod_security-mlogc.x86_64
mod_security-mlogc.x86_64 Package Contents on Amazon Linux 2
/etc/mlogc.conf
/usr/bin/mlogc
/usr/bin/mlogc-batch-load
/usr/share/doc/mod_security-mlogc-2.9.3
/usr/share/doc/mod_security-mlogc-2.9.3/INSTALL
/var/log/mlogc
/var/log/mlogc/data
References
Summary
In this tutorial we learn how to install mod_security-mlogc.x86_64
on Amazon Linux 2 using yum.