Scripting

How to to check connections count per IPs on cpanel Web Server?

If your server/sites are responding slowly, there could be lots of reasons and one of them is DDOS (Distributed Denial-of-service).  Its…

7 years ago

Cpanel Wildcard SSL Installation Script

Wildcard SSL Installation Script Keep in mind that for a wildcard SSL to work, it really does have to be…

9 years ago

How to Terminate old suspended accounts on cpanel server

Terminate old suspended accounts on cpanel server Following scripts:  1) vi /root/terminatesuspended.sh for i in `find /var/cpanel/suspended/ -mtime +90 | cut…

9 years ago

Manage multiple IP addresses with CSF

Manage multiple IP addresses with CSF The command to deny an IP: # csf -d ip.address Click here for more…

9 years ago

How to enable SPF and DKIM for already created cPanel accounts?

Enable SPF and DKIM for already created cPanel accounts cPanel script to enable SPF via commandline: Syntax # /usr/local/cpanel/bin/spf_installer $username…

9 years ago

Backup script for reseller account

Following are the steps to take increment backup of reseller account on backup server. 1) First we need to find…

9 years ago

Script to check NFS mount point

How to check NFS mount point by using the script ? Ans : If you we have mounted the NFS…

9 years ago

Find out the reseller name with domains

How to find out the reseller name with domains? Ans : If you want to list all cPanel accounts under…

9 years ago

Make your shell colorful

You can easily changed your black ssh screen to colorful screen by using following steps. 1) Login to the server…

9 years ago

Script to automatically start mysql

The following script is used to  start mysql automatically when it is failed or stopped on the server. You can set 2…

9 years ago