O'Reilly logo

Mastering CentOS 7 Linux Server by Bhaskarjyoti Roy, Mohamed Alibi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required