Installation Awstats on CentOS

1. You can download awstats
[root@localhost tools]# wget http://prdownloads.sourceforge.net/awstats/awstats-6.8.tar.gz

2. For installation you must install perl
[root@localhost tools]# yum -y install perl

3. you can extract awstats on directory your apache
[root@localhost tools]# cd /var/www/html
[root@localhost tools]# tar zxvf awtstats-6.7.tar.gz
[root@localhost tools]# mv awstats-6.7 awstats

4. install with syntax:
[root@localhost tools]# mv awstats-6.7 awstats
[root@localhost tools]# ./awstats_configure.pl
-- AWStats awstats_configure 1.0 (build 1.8) (c) Laurent Destailleur --
This tool will help you to configure AWStats to analyze statistics for
one web server. You can try to use it to let it do all that is possible
in AWStats setup however following the step by step manual setup
documentation (docs/index.html) is often a better idea. Above all if:
- You are not an administrator user
- You want to analyze downloaded log files without web server
- You want to analyze mail or ftp log files instead of web log files
- You need to analyze load balanced servers log files
- You want to ‘understand all possible ways to use AWStats...
Read the AWStats documentation (docs/index.html).

--> Running OS detected: Linux BSD or Unix
Warning: AWStats standard directory on Linux OS is ‘/usr/local/awstats .
If you want to use standard directory you should first move all content
of AWStats distribution from current directory:
/var/www/html/awstats
to standard directory:
/usr/local/awstats
And then run configure.pl from this location.
Do you want to continue setup from this NON standard directory [yN] ?
--> Check for web server install

Enter full config file path of your Web server.
Example: /etc/httpd/httpd.conf
Example: /usr/local/apache2/conf/httpd.conf
Example: c:Program filesapache groupapacheconfhttpd.conf
Config file path ( none to skip web server setup):
>/etc/httpd/conf/httpd.conf

--> Check and complete web server config file ‘/etc/httpd/conf/httpd.conf
Add ‘Alias /awstatsclasses "/var/www/html/awstats/wwwroot/classes/"‘
Add ‘Alias /awstatscss "/var/www/html/awstats/wwwroot/css/"‘
Add ‘Alias /awstatsicons "/var/www/html/awstats/wwwroot/icon/"‘
Add ‘ScriptAlias /awstats/ "/var/www/html/awstats/wwwroot/cgi-bin/"‘
Add ‘<Directory> directive
AWStats directives added to Apache config file.

--> Update model config file ‘/var/www/html/awstats/wwwroot/cgi-bin/awstats.model.conf
File awstats.model.conf updated.

--> Need to create a new config file ?
Do you want me to build a new AWStats config/profile
file (required if first install) [y/N] ?y

--> Define config file name to create
What is the name of your web site or profile analysis ?
Example: www.mysite.com
Example: demo
Your web site virtual server or profile name:
> test

--> Define config file path
In which directory do you plan to store your config file(s) ?
Default: /etc/awstats
Directory path to store config file(s) (Enter for default):
>

--> Create config file ‘/etc/awstats/awstats.test.conf
Config file /etc/awstats/awstats.test.conf created.

--> Restart Web server with ‘/sbin/service httpd restart
Stopping httpd:                                          [  OK  ]
Starting httpd:                                            [  OK  ]

--> Add update process inside a scheduler
Sorry configure.pl does not support automatic add to cron yet.
You can do it manually by adding the following command to your cron:
/var/www/html/awstats/wwwroot/cgi-bin/awstats.pl -update -config=test
Or if you have several config files and prefer having only one command:
/var/www/html/awstats/tools/awstats_updateall.pl now
Press ENTER to continue...

A SIMPLE config file has been created: /etc/awstats/awstats.test.conf
You should have a look inside to check and change manually main parameters.
You can then manually update your statistics for ‘test with command:
> perl awstats.pl -update -config=test
You can also read your statistics for ‘test with URL:
> http://localhost/awstats/awstats.pl?config=test

Press ENTER to finish...

5. Make sure in file httpd.conf is this line

Alias /awstatsclasses "/var/www/html/awstats/wwwroot/classes/"
Alias /awstatscss "/var/www/html/awstats/wwwroot/css/"
Alias /awstatsicons "/var/www/html/awstats/wwwroot/icon/"
ScriptAlias /awstats/ "/var/www/html/awstats/wwwroot/cgi-bin/"

#
# This is to permit URL access to scripts/files in AWStats directory.
#
<Directory "/var/www/html/awstats/wwwroot">
Options None
AllowOverride None
Order allow deny
Allow from all
</Directory>

6.  Edit file awstats on /etc/
[root@localhost tools]# nano /etc/awstats/awstats.test.conf

edit this file :

LogFile="/var/log/httpd/mylog.log"
to
LogFile="/var/log/httpd/test.log"

DirData="/usr/local/awstats/"
to
DirData="/var/www/html/awstats/wwwroot/cgi-bin"

7. Make file log for fixed if be a problem

[root@localhost tools]# touch /var/log/httpd/test.log

8. For update database awstats try this syntax

[root@localhost tools]# /var/www/html/awstats/wwwroot/cgi-bin/awstats.pl -update -config=test
Create/Update database for config "/etc/awstats/awstats.test.conf" by AWStats version 6.8 (build 1.910)
From data in log file "/var/log/httpd/test.log"...
Phase 1 : First bypass old records searching new record...
Searching new records from beginning of log file...
Jumped lines in file: 0
Parsed lines in file: 0
Found 0 dropped records
Found 0 corrupted records
Found 0 old records
Found 0 new qualified records.

9.  You can checked awstats with browse this url:
http://192.200.200.1/awstats/awstats.pl?config=test

yosoyax

yosoyax

Chick-fil-A also offers customers catered selections from its menu for special events. Many of the company’s values are influenced by the religious beliefs of its late founder, S. Truett Cathy, a devout Southern Baptist. mycfavisit.com Most notably, all Chick-fil-A restaurants are closed for business on Sundays as well as on Thanksgiving and Christmas.

Forienthe

Forienthe

I am very lucky to updates on installation of awstats on centos kim reviews. All those values we are needed to have legit paper writing services and assignment reviews values. Then we will enjoy a lot about their important resources and essays.

game

game

the game thanks

goruhok

goruhok

For paying the fine usually, you must visit the courts but now you need to pay the fine through online  njmcdirect. It is an Online Payment Portal which will you provide you NJ Ticket Prefix code. 

roblox hack

roblox robux

hey friends if you want to hack roblox then try  roblox hack ist best way to hack roblox

terrariumtv

terrariumtv apk

terrarium tv
terrarium tv apk
terrarium tv app
terrarium tv apk download


the best solution of the change the ringtone of the windows mobile and also give the things which is usually used here.... 

nimu

viper4android

I found your post so interesting.
viper4android apk

ankit

saini

Every possible option is given here for the best solution of the change the ringtone of the windows mobile and also give the things which is usually used here how to change ringtone in windows 10 mobile. Thanks a lot for give us best suggestion here.