个人工具

“UbuntuHelp:Logwatch”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
(New page: {{From|https://help.ubuntu.com/community/Logwatch}} {{Languages|php5}} #format wiki #language en === Logwatch === Logwatch is a tool that will monitor your server's logs and email the admi...)
 
 
(未显示2个用户的6个中间版本)
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/Logwatch}}
 
{{From|https://help.ubuntu.com/community/Logwatch}}
{{Languages|php5}}
+
{{Languages|UbuntuHelp:Logwatch}}
#format wiki
+
#language en
+
 
=== Logwatch ===
 
=== Logwatch ===
 
Logwatch is a tool that will monitor your server's logs and email the administrator a digest on a daily basis.
 
Logwatch is a tool that will monitor your server's logs and email the administrator a digest on a daily basis.
 
 
==== Installation ====
 
==== Installation ====
 
===== Prerequisites =====
 
===== Prerequisites =====
* Ensure email is working. Instructions for doing so may be found in [[UbuntuHelp:MailServer]].
+
* Ensure email is working. Instructions for doing so may be found in [[UbuntuHelp:MailServer|MailServer]].
 
+
* Turn on universe repository. Instructions for doing so may be found in [[UbuntuHelp:Repositories|Repositories]].
* Turn on universe repository. Instructions for doing so may be found in [[UbuntuHelp:Repositories]].
+
 
+
 
===== Instructions =====
 
===== Instructions =====
 
Update your package list with:
 
Update your package list with:
 
<pre><nowiki>
 
<pre><nowiki>
 
$ sudo apt-get update
 
$ sudo apt-get update
</nowiki></code>
+
</nowiki></pre>
 
Install Logwatch with:
 
Install Logwatch with:
 
<pre><nowiki>
 
<pre><nowiki>
 
$ sudo apt-get install logwatch
 
$ sudo apt-get install logwatch
</nowiki></code>
+
</nowiki></pre>
 
+
 
===== Notes =====
 
===== Notes =====
 
For Ubuntu systems with apache server:
 
For Ubuntu systems with apache server:
 
 
edit /usr/share/logwatch/dist.conf/logfiles/http.conf
 
edit /usr/share/logwatch/dist.conf/logfiles/http.conf
 
 
and add *combined.log files to the list
 
and add *combined.log files to the list
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2008年10月19日 (日) 23:43的最新版本

Logwatch

Logwatch is a tool that will monitor your server's logs and email the administrator a digest on a daily basis.

Installation

Prerequisites
  • Ensure email is working. Instructions for doing so may be found in MailServer.
  • Turn on universe repository. Instructions for doing so may be found in Repositories.
Instructions

Update your package list with:

$ sudo apt-get update

Install Logwatch with:

$ sudo apt-get install logwatch
Notes

For Ubuntu systems with apache server: edit /usr/share/logwatch/dist.conf/logfiles/http.conf and add *combined.log files to the list