| 14 comments ]

AWStats is a free and very powerful tool that creating statics by analyzing Apache log files, ftp or mail servers. AWStats log analyzer works on CGI or command line interface and generate graphical statics from log files.
This how to guide will help you to install and configure AWStats(Apache Log Analyzer) on CentOS, RHEL and Fedora systems. This article has been tested on CentOS 6.5 only.
Step 1: Setup EPEL Repository
Install EPEL repository using below commands on RHEL/CentOS Systems.
CentOS/RHEL 6:
# rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
CentOS/RHEL 5:
# rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
Step 2: Install Apache Web Server
AWStats required Apache web server to be running. If you don’t have Apache install Use below commands else you already have httpd installed skip this step.
# yum install httpd
# chkconfig httpd on
# service httpd start
Step 3: Install AWStats Package
After installing web server, Let’s install AWStats package using yum. Its will also install all other required dependencies.
# yum install awstats
Step 4: Configure Apache for AWStats
By default AWStats creates an Apache configuration file /etc/httpd/conf.d/awstats.conf. Default configuration is ok to use except allow from access. If you need to access awstats from network, update the allow from ip with your system or network ip from where we need to access it.
# vim /etc/httpd/conf.d/awstats.conf
Alias /awstats/icon/ /var/www/awstats/icon/
ScriptAlias /awstats/ /var/www/awstats/
DirectoryIndex awstats.pl
<Directory "/var/www/awstats/"> Options ExecCGI
allow from 192.168.1.0/24
order deny,allow deny from all allow from 127.0.0.1
#Alias /js/ /var/www/awstats/js/
</Directory>
#Alias /css/ /var/www/awstats/css/
Restart Apache service to reload new settings
# service httpd restart
Step 5: Create AWStats Configuration File
Its required to create an configuration file for each of your website for which statics need to generate. Copy AWStats example configuration file with new name and make changes as below.
# cp /etc/awstats/awstats.localhost.localdomain.conf /etc/awstats/awstats.tecadmin.net.conf
# vim /etc/awstats/awstats.tecadmin.net.conf
Update below settings in awstats.tecadmin.net.conf file
LogFile="/var/log/httpd/tecadmin.net-access_log"
SiteDomain="tecadmin.net"
HostAliases="tecadmin.net www.tecadmin.net"
Step 6: Set Up Cron to Update Logs
Schedule a cron job to regularly update AWStats database using newly created log entries. Add new cron job in crontab like below. Read examples of cron scheduling
 0 2 * * * /usr/bin/perl /var/www/awstats/awstats.pl -config=tecadmin.net -update
Step 7: Access AWStats in Browser
Use your server ip address or domain name to access AWStats statics. Change domain name at the end of url as per your settings.
http://svr1.tecadmin.net/awstats/awstats.pl?config=tecadmin.net
awstats-setup
Congratulation’s! you have successfully configured AWStats for you website. Read our next article to Setup vnStat ( Web based Network Monitoring Tool ) and Install Munin Network Monitoring Tool on your Linux system.



14 comments

Anonymous said... @ June 29, 2017 at 10:39 PM

For friends who wanna windows 10 product key,visit this site:
www.onlinekey.net Fast delivery, and the keys are genuine!

raj joras said... @ July 17, 2017 at 4:18 AM

Valuable for information if there is any other regarding this kindly revert me back on this Jobs in Linux

Visualpath software training center said... @ September 5, 2018 at 5:06 AM

Thanks for sharing this valuable information to our visionPython Online Training

Tejuteju said... @ November 15, 2018 at 9:04 PM

Really nice blog post.provided a helpful information.I hope that you will post more updates like thisBig Data Hadoop Online Training

anirudh said... @ April 3, 2019 at 2:11 AM

Thank you for sharing the article. The data that you provided in the AWS blog is informative and effective.

Unknown said... @ November 25, 2019 at 1:41 AM

Thank for sharing.

Linux Training in Gurgaon

Sowmiya R said... @ July 10, 2020 at 9:05 AM

Awesome. I read this post so nice and very informative information...thanks for sharing.

Oracle Training in Chennai | Certification | Online Training Course | Oracle Training in Bangalore | Certification | Online Training Course | Oracle Training in Hyderabad | Certification | Online Training Course | Oracle Training in Online | Oracle Certification Online Training Course | Hadoop Training in Chennai | Certification | Big Data Online Training Course

brtech said... @ October 10, 2020 at 10:11 PM

Great post, thanks for sharing.

RB said... @ October 17, 2020 at 3:59 AM

Excellent steps to configure AWStats.Really good linux commands level examples.

Anonymous said... @ January 27, 2021 at 12:19 PM

Are you interested in any kinds of hacking services?
Feel free to contact TECHNECHHACKS.

For years now we’ve helped so many organizations and companies in hacking services.
TECHNECHHACKS is a team of certified hackers that has their own specialty and they are five star rated hackers.

We give out jobs to hackers (gurus only) to those willing to work, with or without a degree, to speed up the availability of time given to jobs!!

Thus an online binary decoding exam will be set for those who needs employment under the teams establishment.


we deal with the total functioning of sites like,


• SOCIAL MEDIA (Facebook, Twitter, Instagram, Snapchat, google hangout etc.)

• SCHOOL GRADES

• IOS/OS

• CREDIT SCORES

• BANK ACCOUNTS

• SPOUSES PHONE

Our special agents are five star rated agents that specializes in the following, and will specially be assigned to you for a special job well DONE.

• WESTERN UNION TRANSFER

• CREDIT CARDS INSTALLATION

• MONEY FLIPPING

• CRIMINAL RECORDS

• BTC RECOVERY

• BTC MINING

• BTC INVESTMENT

Thus bewere of scammers because most persons are been scammed and they ended up getting all solutions to their cyber bullies and attacks by US.

I am Jason williams one of the leading hack agent.

PURPOSE IS TO GET YOUR JOBS DONE AT EXACTLY NEEDED TIME REQUESTED!!!



And our WORK SUCCESS IS 100%!!!



We’re always available for you when you need help.

Contact or write us on:

Technechhacks@gmail.com

SIGNED....!

Jason. W

TECHNECHHACKS
2021©️All Right Reserved

Unknown said... @ September 3, 2021 at 11:39 PM

The AWS certification course has become the need of the hour for freshers, IT professionals, or young entrepreneurs. AWS is one of the largest global cloud platforms that aids in hosting and managing company services on the internet. It was conceived in the year 2006 to service the clients in the best way possible by offering customized IT infrastructure. Due to its robustness, Digital Nest added AWS training in Hyderabad under the umbrella of other courses.

Peeter said... @ April 13, 2022 at 6:40 PM

LEGIT FULLZ & TOOLS STORE

Hello to All !

We are offering all types of tools & Fullz on discounted price.
If you are in search of anything regarding fullz, tools, tutorials, Hack Pack, etc
Feel Free to contact

***CONTACT 24/7***
**Telegram > @leadsupplier
**ICQ > 752822040
**Skype > Peeterhacks
**Wicker me > peeterhacks

"SSN LEADS/FULLZ AVAILABLE"
"TOOLS & TUTORIALS AVAILABLE FOR HACKING, SPAMMING,
CARDING, CASHOUT, CLONING, SCRIPTING ETC"

**************************************
"Fresh Spammed SSN Fullz info included"
>>SSN FULLZ with complete info
>>CC With CVV (vbv & non vbv) Fullz USA
>>FULLZ FOR SBA, PUA & TAX RETURN FILLING
>>USA I.D Photos Front & Back
>>High Credit Score fullz (700+ Scores)
>>DL number, Employee Details, Bank Details Included
>>Complete Premium Info with Relative Info

***************************************
COMPLETE GUIDE FOR TUTORIALS & TOOLS

"SPAMMING" "HACKING" "CARDING" "CASH OUT"
"KALI LINUX" "BLOCKCHAIN BLUE PRINTS" "SCRIPTING"
"FRAUD BIBLE"

"TOOLS & TUTORIALS LIST"
=>Ethical Hacking Ebooks, Tools & Tutorials
=>Bitcoin Hacking
=>Kali Linux
=>Fraud Bible
=>RAT
=>Keylogger & Keystroke Logger
=>Whatsapp Hacking & Hacked Version of Whatsapp
=>Facebook & Google Hacking
=>Bitcoin Flasher
=>SQL Injector
=>Premium Logs (PayPal/Amazon/Coinbase/Netflix/FedEx/Banks)
=>Bitcoin Cracker
=>SMTP Linux Root
=>Shell Scripting
=>DUMPS with pins track 1 and 2 with & without pin
=>SMTP's, Safe Socks, Rdp's brute
=>PHP mailer
=>SMS Sender & Email Blaster
=>Cpanel
=>Server I.P's & Proxies
=>Viruses & VPN's
=>HQ Email Combo (Gmail, Yahoo, Hotmail, MSN, AOL, etc.)

*Serious buyers will always welcome
*Price will be reduce in bulk order
*Discount offers will give to serious buyers
*Hope we do a great business together

===>Contact 24/7<===
==>Telegram > @leadsupplier
==>ICQ > 752822040
==>Skype > Peeterhacks
==>Wicker me > peeterhacks

Big Bull said... @ November 30, 2022 at 4:46 PM

@leadsupplier --- Te.le Gr-am
@killhacks --- Tele-gram/I.C.Q
peeterhacks --- W.ickr/Skype

S-MTP's/R.D.P's/C-Panels
She-lls/Mailer-s/Web-Mailers
SMS-Sender/SMS-Spoofer/SMS-Bomber
Kali-Linux-Master-Class Full-Package
D**K/D**P Web Course-&-Valid Links
Fr**D Bi**e 2021/2022
C-ombos/L-ogs/E-mails Leads
Pay-Pal Log-ins/Office-365 Logins
R.A.T's/Vi-ruses/Key-Loggers
B.T.C-Cracker/F-lasher
I.P's/P-roxies/V.P.N's
Server-I.P's/Penetration
SQL.I-Injector
FB/WA-Hacking Complete-Guide

Dead-Fullz
SSN-DOB-DL FULLZ
CC-Fullz With SSN-Info
High-Credit Scores Fullz (700+)
Business E.I.N-Fullz
Dumps With Pin Codes

Packages Also Available for:
Hack-ing, Spamming, Carding, Spying
All tools & Tutorials included in package
Fresh & Valid Stuff

Croma Campus said... @ March 8, 2024 at 2:27 AM

Great post! As someone interested in cloud computing, Start a AWS journey.

Post a Comment