{"id":911,"date":"2012-11-15T23:15:18","date_gmt":"2012-11-16T05:15:18","guid":{"rendered":"http:\/\/blog.supportpro.com\/?p=911"},"modified":"2018-10-04T03:26:39","modified_gmt":"2018-10-04T09:26:39","slug":"install-awstats-for-a-domain-in-cpanel","status":"publish","type":"post","link":"https:\/\/www.supportpro.com\/blog\/install-awstats-for-a-domain-in-cpanel\/","title":{"rendered":"Install Awstats for a domain in cpanel"},"content":{"rendered":"<p>The following are the steps to install awststs in cpanel:<\/p>\n<p>1. Download wastats source: http:\/\/awstats.sourceforge.net<\/p>\n<blockquote><p>wget http:\/\/nchc.dl.sourceforge.net\/project\/awstats\/AWStats\/7.0\/awstats-7.0.tar.gz<\/p><\/blockquote>\n<p>2. Extract the tzr.gz file<\/p>\n<blockquote><p>#gtar -zxvf awstats-7.0.tar.gz<\/p><\/blockquote>\n<p>3. Change the permissions of the awredir.pl and awstats.pl files to 755<\/p>\n<p>(under awstats-7.0\/wwwroot\/cgi-bin\/)<\/p>\n<p>4. Move awredir.pl and awstats.pl and the directory icons to \/home\/user\/cgi-bin<\/p>\n<p>5. Copy \/home\/user\/tmp\/awstats\/awstats.domain.com.conf to \/home\/user\/cgi-bin<\/p>\n<p>6. Edit \/home\/user\/cgi-bin\/awstats.domain.com.conf and search for the &#8220;DirIcons&#8221; line,<br \/>\nand change it to show: DirIcons=&#8221;\/cgi-bin\/icon&#8221;<\/p>\n<p>7. Check statistics at http:\/\/www.yourdomain.com\/cgi-bin\/awstats.pl?config=yourdomain.com.<\/p>\n<p>If you require help, <a href=\"https:\/\/www.supportpro.com\/requestquote.php\">contact SupportPRO Server Admin<\/a><\/p>\n<p style=\"text-align: center;\"><!--HubSpot Call-to-Action Code --><span id=\"hs-cta-wrapper-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-wrapper\"><span id=\"hs-cta-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-node hs-cta-9d590242-d641-4383-94b4-8cfd62f0af6b\"><!-- [if lte IE 8]><\/p>\n\n\n\n\n\n<div id=\"hs-cta-ie-element\"><\/div>\n\n\n<![endif]--><a href=\"https:\/\/cta-redirect.hubspot.com\/cta\/redirect\/2725694\/9d590242-d641-4383-94b4-8cfd62f0af6b\"><img decoding=\"async\" id=\"hs-cta-img-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-img\" style=\"border-width: 0px;\" src=\"https:\/\/no-cache.hubspot.com\/cta\/default\/2725694\/9d590242-d641-4383-94b4-8cfd62f0af6b.png\" alt=\"Server not running properly? Get A FREE Server Checkup By Expert Server Admins - $125 Value\" \/><\/a><\/span><script charset=\"utf-8\" src=\"https:\/\/js.hscta.net\/cta\/current.js\"><\/script><script type=\"text\/javascript\"> hbspt.cta.load(2725694, '9d590242-d641-4383-94b4-8cfd62f0af6b', {}); <\/script><\/span><!-- end HubSpot Call-to-Action Code --><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&hellip;<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[6],"tags":[],"class_list":["post-911","post","type-post","status-publish","format-standard","hentry","category-linux-basics"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/911","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/comments?post=911"}],"version-history":[{"count":4,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/911\/revisions"}],"predecessor-version":[{"id":3184,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/911\/revisions\/3184"}],"wp:attachment":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/media?parent=911"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/categories?post=911"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/tags?post=911"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}