Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

1.install awstats #yum install awstats 2.change weblog format for your website CustomLog /var/log/httpd/aiolinux.

ro-access_log common to CustomLog /var/log/httpd/aiolinux.ro-access_log combined

3. create a configuration file for your website #cd /etc/awstats #cp awstats.model.conf awstats.www.aiolinux.conf #vi awstats.www.aiolinux.ro.conf LogFile=/var/log/httpd/www.aiolinux.ro-access_log SiteDomain=www.aiolinux.ro HostAliases=aiolinux.ro www.aiolinux.ro localhost 127.0.0.1 4.restart httpd service #systemctl restart httpd.service 5.make some noise Go to http://www.aiolinux.ro 6.update statistics #cd /usr/share/awstats/wwwroot/cgi-bin #perl awstats.pl update config=www.aiolinux.ro 7.check statistics Go to http://www.aiolinux.ro/awstats/awstats.pl?config=www.aiolinux.ro

You might also like