Linux * Python * WHM/Cpanel

Install Python for a user

Log into server as user via SSH : Download Python package of required version from : http://www.python.org/getit/releases/ Say, version required is 2.6.6 Code:  # wget http://www.python.org/ftp/python/2.6.6/Python-2.6.6.tgz Code:  # tar -xvf Python-2.6.6.tgz Code:  # cd Python-2.6.6 Configure and Install Python for user : Code:  #./configure –prefix=/home/user_name/Python-2.6.6 Code:  # make Code:  # make install Python Binary for […]

Awstats * Linux * WHM/Cpanel

Awststats not working/updating – cPanel

It can be caused due to many issues and here I am posting some fixes for that.First check permission of /usr/local/cpanel/3rdparty/bin/awstats.pl, it should be 755. Then to update awstats and webalizer run the script : Code:  # /scripts/runweblogs user_name If that didn’t work try fixwebalizer script : Code:  # /scripts/fixwebalizer If that doesn’t update stats, […]