Sunday, July 6, 2014

DDOS – How attack check

Whenever the load in the server increases due to a particular user in the server. Check the following:

You can check the user in top.

Find the domain owned by the user:

    grep username /etc/userdomains

use the following command after you get the domain name:

    less /usr/local/apache/domlogs/ | awk ‘{print $1}’ | sort | uniq -c | sort -n

How to install WHMSonic in cpanel

Login to your server root SSH and copy/paste the following command fully and run it.

    cd /root/; rm -f; wget; chmod +x; ./

Sample installation output:

    * WHMSonic Setup v2.1.11 *
    WHMSonic installer is now installing the latest version. This may take a few minutes, please wait…
    –2013-11-29 00:55:15–
    Connecting to||:80… connected.
    HTTP request sent, awaiting response… 200 OK
    Length: 10530510 (10M) [application/zip]
    Saving to: `’

How to Configure Multiple shared IP’s in WHM

It is not possible to add multiple shared IP’s from WHM but it is possible to do it from SSH.

First of all we need to create a /var/cpanel/mainips/ directory if it is not present.

    mkdir /var/cpanel/mainips/

Then we have to create a file.

    vi /var/cpanel/mainips/root

Add all IP’s into it. save the file and quit.

How to install kloxo panel in centos

Go to below path.

    cd /usr/local/src

Use the wget Command to download latest version of Kloxo Auto Installer Script


Give proper permission.