Setting up and configuring Syslog-ng
By default, with the installation of CentOS 7, there will be Rsyslog
installed for storing the log of the system and its applications. Luckily, we will have all our system log files stored and organized the way syslog wants. We will be using these log files with the installation of Syslog-ng
, and we will have them organized in a more suitable way:
First, before starting the installation, we need to set up the EPEL repository:
$ sudo yum install epel-release
Tip
All of the upcoming package repository checking and application availability is optional. We can always proceed with the installation of Syslog-ng.
To verify that the EPEL repository has been added, we can use the following command:
$ sudo yum repolist
This command shows the list of repositories available for the YUM package manager to download and install the packages from. Now, after having the EPEL repository, we need to check whether any change needs to be made after adding it. So, we need to...