特殊:Badtitle/NS100:Logwatch:修订间差异

来自Ubuntu中文
跳到导航跳到搜索
Oneleaf留言 | 贡献
无编辑摘要
Wikibot留言 | 贡献
无编辑摘要
第3行: 第3行:
=== 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]].
* Turn on universe repository. Instructions for doing so may be found in [[UbuntuHelp: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:
第19行: 第16行:
$ sudo apt-get install logwatch
$ sudo apt-get install logwatch
</nowiki></pre>
</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]]

2007年11月30日 (五) 20:09的版本

{{#ifexist: :Logwatch/zh | | {{#ifexist: Logwatch/zh | | {{#ifeq: {{#titleparts:Logwatch|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Logwatch|1|-1|}} | zh | | }}

Logwatch

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

Installation

Prerequisites
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