Hi Ashraf,
I had configured AWSTAT some months back and i used this way:
1. Download the awstats package and extract at /usr/local.
cd /usr/local
tar -zxvf awstats-6.9.tar.gz
It will create folder awstats-6.9.
Rename it :
mv awstats-6.9/ awstats
2. Create conf file:
cd /usr/local/awstats/tools/
perl awstats_configure.pl
Will ask for path of httpd.conf file and name of config file.
It should be awstats.<serverURL>.conf
E.g. awstats.abcd.com.conf
3. Check all parameters in the conf file.
vi /etc/awstats/awstats.abcd.com.conf
LogFile="/var/log/httpd/stats_log"
SiteDomain="abcd.com"
HostAliases="abcd.com www.abcd.com 127.0.0.1 localhost"
4. Start awstas
cd /usr/local/awstats/tools
perl awstats_updateall.pl now
NOTE: There could be an error like this:
Error: AWStats database directory defined in config file by 'DirData'
parameter (/var/lib/awstats) does not exist or is not writable.
Then create the directory:
cd /var/lib/
mkdir awstats
Hope this will help you.
Regards,
Ritesh Anand
--- In [email protected], ashraf mohammed <ashrafli...@...> wrote:
>
> Hi guys
> i want to implement awstat on my server
> i had downloaded package and untared it
> but here i am really getting configured How to install it ?
> how to configure it ?
>
> I want only awstat to implement httpd logs
> i can not can implemet any other tool for XYZ reason
>
> Plz help me out
> it would be better if u exlpain the step
>
> Thanks in Advance
>
>
> MOHAMMED ASHRAF
>
> MOB: 9870161983
>
>
> The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
> http://in.yahoo.com/
>
> [Non-text portions of this message have been removed]
>