Setup logwatch » Historie » Version 1
Jeremias Keihsler, 04.02.2020 10:11
| 1 | 1 | Jeremias Keihsler | h1. Install Procedure for logwatch |
|---|---|---|---|
| 2 | |||
| 3 | h2. Requirements |
||
| 4 | |||
| 5 | To install logwatch you will need the following: |
||
| 6 | * a installed and supported operating system (e.g. CentOS 8.x) |
||
| 7 | * root-access |
||
| 8 | * a fast internet connection |
||
| 9 | |||
| 10 | h2. Preliminary Note |
||
| 11 | |||
| 12 | h2. Install |
||
| 13 | |||
| 14 | Install @logwatch@: |
||
| 15 | |||
| 16 | <pre><code class="bash"> |
||
| 17 | yum install logwatch |
||
| 18 | </code></pre> |
||
| 19 | |||
| 20 | h2. Configure |
||
| 21 | |||
| 22 | override default output to stdout by |
||
| 23 | <pre><code class="bash"> |
||
| 24 | vim /etc/logwatch/conf/logwatch.conf |
||
| 25 | </code></pre> |
||
| 26 | <pre> |
||
| 27 | # Local configuration options go here (defaults are in /usr/share/logwatch/default.conf/logwatch.conf) |
||
| 28 | Output = mail |
||
| 29 | </pre> |