特殊:Badtitle/NS100:Logwatch

来自Ubuntu中文
Wikibot留言 | 贡献2008年10月19日 (日) 23:43的版本
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳到导航跳到搜索
可打印版本不再受到支持且可能有渲染错误。请更新您的浏览器书签并改用浏览器默认打印功能。

{{#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
  • 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