:: Awstats on CentOS

48 sec read

:: What is Awstats
AWStats is an open source Web analytics reporting tool, suitable for analyzing data from Internet services such as web, streaming media, mail and FTP servers. AWStats parses and analyzes server log files, producing HTML reports. Data is visually presented within reports by tables and bar graphs. Static reports can be created through a command line interface, and on-demand reporting is supported through a web browser CGI program. – wikipedia
:: How to install Awstats on Linux CentOS
+ installing awstats

yum install awstats mod_perl

+ configure awstats

cd /etc/awstats/
cp awstats.localhost.localdomain.conf awstats.yourdomainame.com.conf
vi awstats.yourdomainame.com.conf
## change on this line, like:
## if you want allow update from browser

+ change permission
o if you are enable AllowToUpdateStatsFromBrowser

chmod 777 -R /var/log/httpd/

o allow httpd user to access awstats

chown apache.apache /etc/awstats/*
chown apache.apache /var/www/awstats

o allow everyone to access awstats

vi /etc/httpd/conf.d/awstats.conf
## change allow from on awstats vhost directory
#allow from # cange to:
    allow from all

+ restarting httpd

/etc/init.d/httpd restart

:: Testing
Open your awstats via browser on:


:: Links
+ Google

How to fix problem with the editor ‘vi’

:: git error with vi error: There was a problem with the editor 'vi'   :: how to fix the problem 0. check path...
10 sec read

Apache :: MP4 Streaming

:: How to Enable mp4 Streaming in Apache + Installing mod h624 streaming wget //h264.code-shop.com/download/apache_mod_h264_streaming-2.2.7.tar.gz tar -xzf apache_mod_h264_streaming-2.2.7.tar.gz cd mod_h264_streaming-2.2.7/ ./configure --with-apxs=`which apxs2` make...
18 sec read

Apache :: Flash / FLV Streaming

:: How to Configure Apache for FLV Streaming + Installing mod_flvx wget //people.apache.org/~pquerna/modules/mod_flvx.c which apxs /usr/bin/apxs /usr/bin/apxs -cia mod_flvx.c + setup mod_flvx in http.conf...
15 sec read