first of all see what is
:
AWStats is an open source tool
web analytics, able to analyze data
service Internet as a web server , streaming , mail and FTP. AWStats analyzes server log files, and produces reports based on them HTML (definition taken from wikipedia) now if we are to what matters .........
First download the Awstats from their official website or from this link
http://downloads.sourceforge.net/project/awstats/AWStats/6.9/awstats-6.9.tar.gz?use_mirror=ufpr
we can
follows root @ d3ad-laptop: / var / www # tar-xzvf awstats-6.9.tar.gz
already see that we had a folder with the name of the program and the version root @ -d3ad laptop: / var / www # ls-la drwxr-xr-x 5 1003 513 4096 2008 -12 to 28 9:04 awstats-6.9-rw-r - r - 1 root root 1125906 2009-2008 14:34 -26
awstats-6.9.tar.gz-rw-r - r - 1 root root 45 08/06/2009 9:30index.html drwxr-xr-x 11 root root 4096 2009 -08 to 06 phpPgAdmin
9:30
once we have this we changed the name to the folder to facilitate the administration issues
root @ d3ad-laptop: / var / www # mv awstats-6.9 awstats
Now we have the Awstats, downloaded and ready to begin setting up for issues to facilitate the process of parameterization administration will do through webmin,
if we do not have webmin installed we do follows.
Note. You must download the webmin depending on the linux version that I have in my case I have debian, so download the. Deb from the official website of webmin.
http://www.webmin.com/download.html
if I do I do for the console as follows: root @ d3ad-laptop: / var / www # wget http://downloads.sourceforge.net/project/webadmin/webmin/1.480/webmin_1.480_all.deb?use_mirror=ufpr
root @ d3ad -laptop: / var / www / awstats # dpkg-i webmin_1.480_all.deb when I try to do this tells me that the installation can not install because some dependencies are needed. Recovered by selecting each of the units shown, and install them.
root @ d3ad-laptop
: / var / www / awstats # apt-get install [dependencia1] [Dependencia2] [Dependencia2]
Note: [Unit] put the package indicates that lack
immediately installed this automatically finish installing the Webmin
the indications that we can connect as follows
https: / / de3ad-laptop: 10000
also can be connected to local host or the address of the computer, debian, ubuntu or other distributions it works in https but for example in Suse, it works in http OpeSuse we can log in with normal user : root password, which has, or the user that installed the system that would mean an administrator.Once we have this webmin and it would look as follows:
We are ready to begin configuring Awstats. Webmin-> Webmin Configuration-> Webmin Modules->
already installed we can see that we have the Awstats in the section of the system.
We are ready to begin configuring Awstats.
First of all we need to have the module in our webmin awstats, with the package went down, which stops in / var / www and renown as awstar have this module.
Installation is a little more simple: we
:
and we click on Install module.
already installed we can see that we have the Awstats in the section of the system.
We are ready to begin configuring Awstats.
First of all we need to have the module in our webmin awstats, with the package went down, which let en /var/www y renombre como awstar tenemos este modulo.
La instalacion es un poco mas sencilla:
vamos a :
Webmin-> Configuracion de Webmin-> Modulos de Webmin->
Ya instalado podemos ver que tenemos el Awstats en la seccion de sistema.
When it awstats click on the first thing we see is that we returned with an error, this is because the webmin comes preconfigured locations of where the software depending on the system but as a manual installation, configuration we click on of module, to specify where our software.
By clicking on save, we throw another error which indicates that the sample configuration file is not in the path specified.
The speciesism modify the path in which we have.
Now we are in the configuration of the module, which INICA we have not specified settings to generate report.
This is based on the configuration at / etc / awstats / why we created the directory manually. now need a sample configuration file.
Here I give you to realize. To download it.
http://www.4shared.com/file/127953383/ead0991d/awstatsth3doctor.html
copy it to / etc / awstats /
now reload your browser (F5)
and see something like this:
to create our own policy based on a preset using our name server or you want to give. We click on
Add a new configuration file for analysis.
underlined field put the name of our configuration by replacing [newconfig]
now is not if you do not edit our settings from the Edit / Delete, to show us the results of what we want to see, we activate the options 1 and disable with 0.
just have to create the folder in / var / cache / awstats with
root @ d3ad-laptop: ~ / Desktop # mkdir / var / cache / awstats
give permissions to the directory root @ d3ad-laptop: ~ / Desktop # chmod 755 / var / cache / awstats
now if we keep our configuration and what should be done without problems.
Now to view the Web as we edit the apache2.conf reports
root @ d3ad-laptop: ~ / Desktop # vi / etc/apache2/apache2.conf
add the following content at the end.
Alias \u200b\u200b/ awstatsclasses "/ var / www / awstats / wwwroot / classes /" Alias \u200b\u200b
/ awstatscss "/ var / www / awstats / wwwroot / css /" Alias \u200b\u200b/ awstatsicons "/ var / www / awstats / wwwroot / icon / " ScriptAlias \u200b\u200b/ awstats /" / var / www / awstats / wwwroot / cgi-bin / "
Options + FollowSymLinks AllowOverride None
order allow, deny allow from all
restart the apache2
:
~ / Desktop # / etc/init.d/apache2 restartnow we webmin-> System-> awstats-> update our report for the update button. And we click on View we should open a website as follows.
And i am just schedule automatic update so that the report contains as much information as possible, in hours, days, weeks, months ......
.