RSYSLOG install on CentOS 7

To install and configure rsyslog on CentOS 7 :

  • Install rsyslog: Run the following command to install rsyslog:

sudo yum install rsyslog

  • Start and enable rsyslog: Start rsyslog and enable it to start automatically on boot with the following commands:

sudo systemctl start rsyslog

sudo systemctl enable rsyslog

By default, rsyslog is configured to store log messages in the /var/log/messages file.

If you want to install RSYSLOG on RedHat Systems Follow the instructions on the screenshots below: