Difference between revisions of "Setup rsyslog"

From rdkwiki
Jump to: navigation, search
m
Line 9: Line 9:
  
 
== Download and install rsyslog ==
 
== Download and install rsyslog ==
 +
* '''wget http://rpms.adiscon.com/v8-stable/rsyslog.repo''' --> download the rsyslog repository
 +
* '''mv rsyslog.repo /etc/yum.repos.d/''' --> move the repo to the local repository
 +
* '''yum install rsyslog''' --> install rsyslog
 +
* '''systemctl start rsyslog''' --> start the rsyslog server
 +
* '''systemctl enable rsyslog''' --> start the rsyslog server during boot

Revision as of 18:37, 6 November 2016

Intro

The steps below will configure a working rsyslog server. The steps assume that you have a (fresh) CentOS 7 server running.

MySQL installation

You can find how to install the MySQL database-server here: installing MySQL

Apache installation

You can find how to install the Apache webserver here: Installing Apache webserver

Download and install rsyslog

  • wget http://rpms.adiscon.com/v8-stable/rsyslog.repo --> download the rsyslog repository
  • mv rsyslog.repo /etc/yum.repos.d/ --> move the repo to the local repository
  • yum install rsyslog --> install rsyslog
  • systemctl start rsyslog --> start the rsyslog server
  • systemctl enable rsyslog --> start the rsyslog server during boot