Helpful Information
 
 
Category: Solutions
How do I uninstall AWStats?

A while back I installed AWStats 6.4 by following the instructions at http://codeworks.gnomedia.com/westhost-introduction/setting-up-awstats/.

I haven't really used AWStats because I use Google Analytics, so I'd like to uninstall it for security purposes.

Can anyone tell me how to do this? I am familiar with connecting via SSH. I'm just not sure what files need to be removed, where they are, etc.

Thanks.

I would think if you used Jalal's instructions that you would simply "reverse" the steps so to speak. It looks like he had you make a backup of httpd.conf and that might be the only tricky thing. You might not be able to use that back up if you have made other changes to your site since then that affected httpd.conf. I am not sure what is added to httpd.conf for Awstats but you should be able to open up the current one and find what was added for it (if it is even still there)

I think that worked.

In short, here is what I did (for people looking for a step-by-step solution):

cd /usr/local
rm -r awstats
(say yes to removing all files and directories)

cd /var/lib
rm -r awstats
(say yes to removing all files and directories)

cd /etc/httpd/conf
pico httpd.conf
(go to the end of the file and remove the part that mentions awstats)
(exit and save)

cd
editcron -e
(remove the awstats cron job)
(exit and save)

rm awstats-6.4.tgz
(answer yes to remove the file)

I think that's it. If anyone notices something I missed, let me know.

Thanks for your help.










privacy (GDPR)