After installing django on shared cPanel the following error is recorded in passenger log: django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module. Did you install mysqlclient? The error indicates that the mysqlclient module is...
cPanel update script that is executed every night is /scripts/upcp and according to its code, file named /scripts/postupcp will get executed at the end: if (-e "/scripts/postupcp") { system("/scripts/postupcp"); } We can use this file to add a...
Jupiter is the name of the new default cPanel theme, and one of the most hated things about the new theme is the new icon style: jupiter cpanel theme icons To bring back the old icons from the Paper Lantern theme to Jupiter, simply copy the icons cp...
yum -y update
curl -sL | bash -
yum clean all && yum makecache fast
yum install -y gcc-c++ make
yum install -y nodejs
yum remove nodejs rm -rf ~/.nvm ~/.npm ~/.bower /usr/local/bin/npm /usr/local/bin/node* /usr/local/include/node* /usr/local/lib/node* /usr/local/share/man/man1/node* /usr/local/lib/dtrace/node.d ~/.npm ~/.node-gyp /opt/local/bin/node...
sudo yum update
curl –sL | sudo bash -
sudo yum install –y nodejs
node --version
npm --version
Step 1. Add the dedicated IP address to the user’s subdomain file. cd /var/cpanel/userdata/username Note: username represents the user who requires that each subdomain use a dedicated IP address. nano subdomain.example.com The file’s...
cPanel To count users, run the following command: grep -Po '^(?<!#)\s\w+\s(?=:)' /etc/userplans | wc -l Also, it may be useful to list users. To do so, run the following command: cut -d":" -f1 /etc/userplans | sort -n | uniq Plesk To count users...