How to enable Cloud Fare on VPS

image_pdfimage_print

STEPS:

1. SSH to the server in which you need to install CloudFlare plugin.

2. Enter the cPanel basic directory:

cd /usr/local/cpanel

3. Download the tar file to your server.

curl -k -L https://github.com/cloudflare/CloudFlare-CPanel/tarball/master > cloudflare.tar.gz

4. Untar the file

tar -zxvf cloudflare.tar.gz

5. This will extracts a directory which includes a UNIQUE_ID. The sample format of this will be as follows:

cloudflare-CloudFlare-CPanel-w40bbb3

Here w40bbb3 is the UNIQUE_ID.

cd cloudflare-CloudFlare-CPanel-UNIQUE_ID/cloudflare

6. Execute the install script in the following format:

./install_cf API_HOST_KEY mod_cf “Your Company Name”

API_HOST_KEY – You will get this from your CloudFlare panel.

Your Company name – You can give your hostname here.

mod_cf is optional. If set, the installer will also try to install mod_cloudflare

That’s it!!! Now, you will be able to see an icon for “CloudFlare” in all your cPanel accounts.

How to install Softaculous on VPS server

image_pdfimage_print

Softaculous is a great Auto installer which have a lot of scripts to achieve our needs. In our WHM/cPanel server we can use the Softaculous as an add-on, which manage installations.

Prerequisites:

The php extension IonCubeLoader is must be enabled on your server.

Method I:

# wget -N http://files.softaculous.com/install.sh

# chmod 755 install.sh

# ./install.sh

Method II:

# cd /usr/local/cpanel/whostmgr/docroot/cgi

# wget -N http://www.softaculous.com/ins/addon_softaculous.php

# chmod 755 addon_softaculous.php

After the installation, login to WHM and do the following steps.

WHM –> Plugins–> softaculous– Instant Installs