Home Linux Basics Install Awstats for a domain in cpanel

Install Awstats for a domain in cpanel

by SupportPRO Admin

The following are the steps to install awststs in cpanel:

1. Download wastats source: http://awstats.sourceforge.net

wget http://nchc.dl.sourceforge.net/project/awstats/AWStats/7.0/awstats-7.0.tar.gz

2. Extract the tzr.gz file

#gtar -zxvf awstats-7.0.tar.gz

3. Change the permissions of the awredir.pl and awstats.pl files to 755

(under awstats-7.0/wwwroot/cgi-bin/)

4. Move awredir.pl and awstats.pl and the directory icons to /home/user/cgi-bin

5. Copy /home/user/tmp/awstats/awstats.domain.com.conf to /home/user/cgi-bin

6. Edit /home/user/cgi-bin/awstats.domain.com.conf and search for the “DirIcons” line,
and change it to show: DirIcons=”/cgi-bin/icon”

7. Check statistics at http://www.yourdomain.com/cgi-bin/awstats.pl?config=yourdomain.com.

If you require help, contact SupportPRO Server Admin

Server not running properly? Get A FREE Server Checkup By Expert Server Admins - $125 Value

Leave a Comment