[tor-commits] [webstats/master] Update webstats README with Webalizer info
runa at torproject.org
runa at torproject.org
Mon Jun 18 14:23:09 UTC 2012
commit e7cebc92388853dd95063d0f565db929e3a91da3
Author: Runa A. Sandvik <runa.sandvik at gmail.com>
Date: Mon Jun 18 15:23:00 2012 +0100
Update webstats README with Webalizer info
---
README | 33 +++++++--------------------------
1 files changed, 7 insertions(+), 26 deletions(-)
diff --git a/README b/README
index af52cae..c2f3a16 100644
--- a/README
+++ b/README
@@ -78,36 +78,17 @@ The full example command would be:
Once this command runs without issues, add a crontab line for it.
-2. Setting up AWStats and Webalizer to process logs for a new host
-===================================================================
+2. Setting up Webalizer to process logs for a new host
+======================================================
-2.1 AWStats
-===========
-
-Create a new configuration file for the host you wish to add:
-
- $ cp configs/awstats.www.torproject.org.conf configs/awstats.metrics.torproject.org.conf
-
-Remember to edit line 51 (LogFile="") and line 153 (SiteDomain="") in the new
-configuration file. You may also want to look at the section starting on line
-922 for statistics to enable/disable.
-
-Once that's done, go into the awstats directory and create a symlink to the new
-configuration file:
-
- $ cd awstats
- $ ln -s ../configs/awstats.metrics.torproject.org.conf awstats.metrics.torproject.org.conf
-
-Edit logimport.sh and logarchive.sh to include the name of the new host in the hosts-section.
-
-2.2 Weablizer
-=============
-
-The first thing you need to do is create an output directory for the host, as
-well as a configuration file:
+The first thing you need to do is create an output directory for the
+host, a configuration file, and a directory for the tarballs. Here's an
+example:
+ $ cd /srv/webstats.torproject.org
$ mkdir htdocs/webalizer/metrics.torproject.org
$ cp configs/webalizer.www.torproject.org.conf configs/webalizer.metrics.torproject.org.conf
+ $ mkdir to-archive/metrics.torproject.org.conf
Remember to edit line 1 (LogFile), 2 (OutputDir), and 3 (HostName) in the new
configuration file.
More information about the tor-commits
mailing list