FORUM HOME | WHUK BLOG   
WEB HOSTING UK AFFORDABLE WEBSITE HOSTING SERVICES IN UNITED KINGDOM
PHP LINUX SHARED HOSTING WINDOWS ASP.NET HOSTING PACKAGES
ECOMMERCE HOSTING ASP MSSQL MS ACCESS ODBC FRONTPAGE HOSTING
CPANEL WHM FANTASTICO RESELLER DEDICATED SERVER WEB HOSTING
CHEAP PLESK CPANEL HTML MYSQL BEST UK VPS HOSTING COMPANY
CHEAP RELIABLE UK HOSTING PROVIDER SINCE 2001
MANAGED WEB HOSTING SERVICE
AFFORDABLE WEBSITE HOSTING SERVICES IN UNITED KINGDOM

Web Hosting UK Forums | Linux Windows Dedicated Server and cPanel VPS Hosting Forum » Web Hosting and Domains » FAQ's / Tutorials.

Reply
 
LinkBack Thread Tools Display Modes

  #1 (permalink)  
Old 31-03-11, 03:32 PM
Junior Member
 
Join Date: Jun 2010
Posts: 12
Default Installing AWStats

Installing AWStats


If you want to access the Awstats from the cpanel then it is necessary that you enable following setting from WHM:

WHM >> Tweak Setting >> Stats Programs tab >> Enable Awstats stats

And If you wish to access Awstats from outside of the cpanel then just need to follow the steps below:


1) First you need to Download awstats by executing following command
wget http://awstats.sourceforge.net/files/awstats-7.0.tar.gz

2) Then Uncompress awstats-7.0.tar.gz by executing following command
tar -xzvf awstats-7.0.tar.gz

3) Next Copy the folder awstats-7.0 to the user cgi-bin directory this can include folders like awstats.pl, awstats.model.conf, and the lang, lib and plugins sub-directories

4) You can also try editing the first line of awstats.pl file that is
#!/usr/bin/perl to #!/usr/local/bin/perl

5) Once we complete the above steps then just move icon of AWStats, sub-directories and its content into a directory that is readable by our web server, say for example you can move it to the path say /home/username/public_html/foldername

6) Then copy awstats.model.conf file into a new file called awstats.myvirtualhostname.conf which must be stored in /home/user/public_html/cgi-bin folder.

7) Then Edit this new config file with our own setup as follows:
- LogFile value with LogFile="/usr/local/apache/domlogs/domain.com").
- The LogFormat has the value "1" (which means "NCSA apache combined/ELF/XLF log format").
- Change DirIcons parameter to reflect relative path of icon directory where you specified icon of AWStats, sub-directories and its content
(DirIcons="/foldername")
- Then you need to edit the SiteDomain parameter with yourthe main domain name or the intranet web server name used to reach the web site to analyze
- Next IMPORTANT thing is to Change DirData to use the same Statics file than that of Cpanel Awstats and to make sure that we do not loose any entry.
(DirData="/home/user/tmp/awstats/")


8.) Once we follow all the steps then we can access AwStats by the URL:
domain.com/cgi-bin/awstats.pl?config=domain.com

9.The statics of AwStats will refreshed every 24 Hours.

All done but one thing that we must always remember before installing anything is its requirements.
To use AWStats CGI script, you need the following requirements:
* Inorder to run awstats, from command line, the operating system must be able to run perl scripts (.pl files).
* Perl module "Encode" must be available.
* To run awstats as a CGI (for real-timestatistics), the web server must be able for running such scripts.


You are now ready to use your AWSTATS....
__________________
Jovanna
Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT. The time now is 07:25 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Copyright 2001-2010 Web Hosting UK. All rights reserved.
Web Hosting UK Forum





Site Map

Shared Cloud
Shared Cloud From £1

Affiliate Program
Earn up to £300 Per Sale

Dedicated Servers
Dedicated Server Hosting

Cloud Hosting
Cloud Server Hosting

Load Balanced Server
Load Balancing Server

VPS Hosting
Linux VPS Hosting

Windows VPS
Windows 2003 VPS

Zimbra Hosting
Zimbra Email Hosting

cPanel Hosting
Shared Linux Hosting

Windows Hosting
Shared Windows Hosting

Coldfusion Hosting
Windows Coldfusion Hosting

cPanel Reseller Hosting
Reseller Hosting

Windows Reseller
Windows Reseller Hosting

Email Web Hosting
Email Hosting

Semi-Dedicated Server
Semi-Dedicated Hosting

Remote Backup Plans
Offsite Backup Service


cpanel hosting
Knowledgebase Articles

Pre-Sales Question
Web Hosting FAQ's

Dedicated Hosting
Dedicated Server FAQ's

Virtual Private Servers
VPS Hosting

PHP MySQL Hosting
cPanel Hosting

Windows Hosting
ASP MSSQL Hosting

Domain Name
Domain registration FAQ's

CMS Hosting
CMS Hosting FAQ's

Payment Gateways
Payment FAQ's


Support Tutorials

cPanel Tutorials
cPanel Flash Tutorials

Wordpress Tutorials
Wordpress Flash Tutorials

Plesk Tutorials
Plesk Flash Tutorials

PhpMyadmin Tutorials
PhpMyadmin Flash Tutorials

Drupal Tutorials
Drupal Flash Tutorials

Mambo Tutorials
Mambo Flash Tutorials

Joomla Tutorials
Joomla Flash Tutorials

More Hosting Tutorials