Changes

Jump to navigation Jump to search
no edit summary
Line 16: Line 16:  
}}
 
}}
   −
 
+
{{Note box| For SME9 and newer version see talk page [[Talk:Qmail_Statistics_(AWStats)]]
 +
}}
    
=== Setup ===
 
=== Setup ===
Download the setup script [http://mirror.contribs.org/smeserver/contribs/michaelw/sme7/Qmail-AWStats/qmail-awstats-setup.sh qmail-awstats-setup.sh] and run it.
+
Download the setup script [http://mirror.contribs.org/smeserver/contribs/michaelw/sme7/Qmail-AWStats/qmail-awstats-setup.v2.sh qmail-awstats-setup.v2.sh] and run it.
   −
  wget <nowiki>http://mirror.contribs.org/smeserver/contribs/michaelw/sme7/Qmail-AWStats/qmail-awstats-setup.sh</nowiki>
+
  wget <nowiki>http://mirror.contribs.org/smeserver/contribs/michaelw/sme7/Qmail-AWStats/qmail-awstats-setup.v2.sh</nowiki>
  bash qmail-awstats-setup.sh
+
  bash qmail-awstats-setup.v2.sh
    
This script...
 
This script...
Line 34: Line 35:  
Run the first update manually
 
Run the first update manually
 
  /usr/local/awstats/wwwroot/cgi-bin/awstats.pl -update -config=mail
 
  /usr/local/awstats/wwwroot/cgi-bin/awstats.pl -update -config=mail
 +
 +
Note: The setup script was updated to version 2 on Sep 7 2008. See forum thread http://forums.contribs.org/index.php?topic=42024.msg197025#msg197025
    
=== Usage ===
 
=== Usage ===
 
Point your browser to '''<nowiki>https://YOUR_SMESERVER_IP/awstats/awstats.pl?config=mail</nowiki>''' and login as admin.
 
Point your browser to '''<nowiki>https://YOUR_SMESERVER_IP/awstats/awstats.pl?config=mail</nowiki>''' and login as admin.
    +
=== Uninstall ===
 +
/bin/rm -f /etc/e-smith/templates-custom/etc/crontab/awstats
 +
expand-template /etc/crontab
 +
/bin/rm -f /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/86awstats
 +
expand-template /etc/httpd/conf/httpd.conf
 +
service httpd-e-smith restart
 +
/bin/rm -f /etc/awstats/awstats.mail.conf
 +
/bin/yum -y erase awstats-6.7-1
    +
=== moving data from old server to new one ===
 +
prior to
 +
Run the first update manually
 +
/usr/local/awstats/wwwroot/cgi-bin/awstats.pl -update -config=mail
    +
copy|move|rsync all files from old server to new one in following location
    +
/home/e-smith/awstats/   
 +
 +
----
 
[[Category: Howto]]
 
[[Category: Howto]]
[[Category: Administration]]
+
[[Category: Mail]]
----
+
[[Category: Administration:Monitoring]]
63

edits

Navigation menu