NEXUCOM - Support / Knowledge Base

Search:     Advanced search
Browse by category:

How to Install LogWatch

Views: 1340
Votes: 0
Posted: 12 Jan, 2009
by: Tech A.
Updated: 31 May, 2009
by: Tech A.

1. Login to your server as root, go to root-folder:

cd /root

----------------------------------------------------

2. Remove existing Logwatch by typing:

rpm -e logwatch

----------------------------------------------------

3. Download latest stable logwatch (please note, later on you have to check for the latest version from LogWatch website, www2.logwatch.org)

wget ftp://ftp.kaybee.org/pub/redhat/RPMS/noarch/logwatch-7.3.6-1.noarch.rpm

----------------------------------------------------

4. Install LogWatch with the following command:

rpm -i logwatch-7.3.6-1.noarch.rpm

----------------------------------------------------

5. Edit the LogWatch configuration file:

nano -w /usr/share/logwatch/default.conf/logwatch.conf

A) Scroll down to:

MailTo = root

and replace root with your email address.

B) Scroll down:

Detail=Low

and replace Low to Medium or High.

Save and exit.

----------------------------------------------------

6) You can test your new installation by running the following command:

/usr/share/logwatch/scripts/logwatch.pl --range today

Others:
/usr/share/logwatch/scripts/logwatch.pl --range Yesterday
/usr/share/logwatch/scripts/logwatch.pl --range All


Your all done!




RSS

Services d'Hébergement: Hébergement Web | Serveurs Dédiés | Streaming | Colocation Serveurs | Nom de Domaine | Support |

Hosting Services: Web Hosting | Dedicated Servers | Streaming | Servers Colocation | Domain Name | Support |

Services: | Hébergement | Serveurs | Colocation |

Copyright © 2003-2008. NEXUCOM, All Rights Reserved.

Mascot - Mascots - DirectAdmin - big - mf - Boiler Biomass - Mascottes - Mascots - Webmail - gt - Chaudière Biomasse - Mascottes - Mascotte -

statistics