srakaeden.blogg.se

Awstats ubuntu
Awstats ubuntu




awstats ubuntu
  1. #AWSTATS UBUNTU INSTALL#
  2. #AWSTATS UBUNTU UPDATE#
  3. #AWSTATS UBUNTU SOFTWARE#

  • Updates can only be added in chronological order, therefore you may need to delete the data file for a particular month, and rebuild it entirely.
  • /usr/lib/cgi-bin/ -config=server -LogFile=access.log.
  • #AWSTATS UBUNTU UPDATE#

    To perform a one-off update from a specific log file.

  • Highlight the webserver (not a web site).
  • To change the above in IIS7, in IIS Manager Make sure the following are included (those in bold are the usually omitted culprits).
  • URLReferrerWithQuery=1 follows on from two aboveīy default, IIS server logs do not contain enough fields.
  • URLWithQueryWithOnlyFollowingParameters="title" - only treats variances in param title as distinct pages.
  • URLWithQuery=1 - useful for Wiki's etc where query param indicates a different page.
  • Wiki sites (and other sites where an URL parameter can specify a specific page).
  • EG every 30 mins */30 * * * * /bin/perl /usr/lib/cgi-bin/ -config= -update >/dev/null.
  • Add a scheduled job to crontab to update automatically.
  • Test that you can see some stats, using URL similar to.
  • Perform an initial stats gather for the site.
  • HostAliases=”localhost 127.0.0.1" (example for a local site).
  • LogFormat=1 (this will give you more detailed stats).
  • LogFile=”/path/to/your/domain/access.log”.
  • Edit the config file for the site, specifically (see below for further options).
  • Create a specific config file for the site to monitor.
  • EG mv /home/user/awstats-7.2 /usr/local/awstats/.
  • EG mv /usr/local/awstats/ /usr/local/awstats-v7.0.
  • If upgrading from a previous version, backup the old version.
  • Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
  • Alias /awstatsclasses "/usr/share/awstats/lib/"Īlias /awstats-icon/ "/usr/share/awstats/icon/"Īlias /awstatscss "/usr/share/doc/awstats/examples/css".
  • Site should now be available via URL similar to.
  • Create apache config file for site with contents show below.
  • Edit the the generic template config file if required.
  • cp -R /usr/share/doc/awstats/examples/*.*.
  • Make a directory to correspond with the AWStats documentation and set it up:.
  • ci -l nf (check in the file before marking it up.) (ci is listed as rcs in the repositories.
  • mkdir RCS (This is only necessary if you don't have an RCS directory installed there already.).
  • tail your log file you are working with to verify it's readable.
  • type perl -v and verify it's better than 5.00503 (You will probably see something like: This is perl, v5.8.8 built for i486-linux-gnu-thread-multi.).
  • Open a terminal session Applications/Accessories/Terminal.
  • Repeat steps for AWStats but for apache and verify you have 2.0.55-rubuntu4 installed or equivalent.
  • #AWSTATS UBUNTU INSTALL#

    Check the version you have installed or install the latest version.Click the search icon and type in awstats.

    awstats ubuntu

  • With the mouse select: 'System/Administration/Synaptic Package Manager'.
  • #AWSTATS UBUNTU SOFTWARE#

    To determine the versions of software you are using do: REQUIREMENTS: AWStats 6.5-2, and Apache 2.0 This document is an attempt to make it simple once again. In other words it is a PERL script that pretty prints an Apache log file. It also comes with some other helper Perl scripts to make this task even easier. Perhaps the most important step is to get XChat and subscribe to channel "#awstats" on the "Ubuntu Server".ĪWstats is a Perl script (), which parses your server’s log files and generates reports either dynamically, when used as a CGI script through the web browser, or by creating static HTML pages, when used directly from the command line or through cron.

  • 1.1 REQUIREMENTS: AWStats 6.5-2, and Apache 2.0įinding AWStats documentation specific to Ubuntu is tough.





  • Awstats ubuntu