Update Awstats to Latest on Ubuntu 10.04 LTS

I couldn’t find anything on here to help me the other day when I was looking to update Awstats so thought I would post to help anybody else looking to do the same as the new version has some nice database updates (especially the update which now realises Bing is a search engine!).

Download the latest from: http://awstats.sourceforge.net/#DOWNLOAD

Extract the archive:

Copy:

awstats-7.0\wwwroot\cgi-bin\awstats.pl

To:

/usr/lib/cgi-bin

Copy:

awstats-7.0\wwwroot\cgi-bin\lang
awstats-7.0\wwwroot\cgi-bin\lib
awstats-7.0\wwwroot\cgi-bin\plugins
awstats-7.0\awstats-7.0\wwwroot\icon

To:

/usr/share/awstats

Open Webmin, Webmin Configuration, Webmin Modules, then browse for the file awstats-7.0\awstats-7.0\tools\webmin\awstats-1.9.wbm and install.

Update should now be complete.