Difference between revisions of "Setup rsyslog"

From rdkwiki
Jump to: navigation, search
m
m
Line 11: Line 11:
 
* '''wget http://rpms.adiscon.com/v8-stable/rsyslog.repo''' --> download the rsyslog repository
 
* '''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
 
* '''mv rsyslog.repo /etc/yum.repos.d/''' --> move the repo to the local repository
* '''yum install rsyslog''' --> install rsyslog
+
* '''yum install rsyslog* --skip-broken''' --> install rsyslog
 
* '''systemctl start rsyslog''' --> start the rsyslog server
 
* '''systemctl start rsyslog''' --> start the rsyslog server
 
* '''systemctl enable rsyslog''' --> start the rsyslog server during boot
 
* '''systemctl enable rsyslog''' --> start the rsyslog server during boot

Revision as of 18:48, 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* --skip-broken --> install rsyslog
  • systemctl start rsyslog --> start the rsyslog server
  • systemctl enable rsyslog --> start the rsyslog server during boot