Monatsarchiv für September 2005

awstats 6.5 <-> gentoo

Donnerstag, den 22. September 2005

Gentoo

< ~ #>emerge awstats
which is sufficient for most apps in gentoo, including webapps. Squirrelmail and gallery both installed fine this way. However, the awstats ebuild tells us that we have to use webapp-config to complete the install of awstats. They do not give a suggested command line. Long story short, this is how I managed to install awstats to my host (localhost in this case)

1. < ~ #>emerge awstats
2. Create a directory called “awstats” in your root web directory.
3. < ~ #>webapp-config -I -h localhost -d /awstats/ awstats 6.5 Change version number as necessary.
4. Take the output of the above command and paste into the /etc/apache2/conf/commonapache2.conf file
5. < ~ #>/etc/init.d/apache2 restart
6. < ~ #>cd /etc/awstats/
7. If there isn’t already a config file, copy awstats.model.conf to awstats.yourdomain.conf
8. Edit awstats.yourdomain.conf. It is pretty easy just reading the comments.

OK it is installed. Now update the stats:

< ~ #>/usr/share/webapps/awstats/6.5/hostroot/cgi-bin/awstats.pl -config=yourdomain.com -update

www.meez.de
Datenschutz-Übersicht

Diese Website verwendet Cookies, damit wir dir die bestmögliche Benutzererfahrung bieten können. Cookie-Informationen werden in deinem Browser gespeichert und führen Funktionen aus, wie das Wiedererkennen von dir, wenn du auf unsere Website zurückkehrst, und hilft unserem Team zu verstehen, welche Abschnitte der Website für dich am interessantesten und nützlichsten sind.