Install Plugin Cloudflare di cPanel

Description

CloudFlare plugin for CPanel. Please note: The cPanel plugin is for Certified CloudFlare Hosting Partners.

 

Installation

Using an SSH client such as Terminal or Putty:

 

Step 1. Access cPanel for the server using root user by:

ssh root@SERVER IP ADDRESS or SERVER NAME

Step 2.

bash <(curl -s https://raw.githubusercontent.com/cloudflare/CloudFlare-CPanel/master/cloudflare.install.sh) -k HOST_API_KEY -n 'YOUR_COMPANY_NAME'

 

Step 3. This will start the installation. cPanel is installed first, followed by mod_cloudflare. Depending on your server, it will take between 15 seconds and 4 minutes. You know it will be done when you see:

CloudFlare module installed successfully

 

Step 4. CloudFlare is now successfully added to this server. You need to repeat the process for each additional server (unless you have an automatic update script).

 

This takes you back two levels.

 

Step 10.

rm -rf cloudflare-CloudFlare-CPanel-UNIQUE ID*

To check if it is installed:

cat etc/cloudflare.json

You should see an output with the following:

root@server1 [/usr/local/cpanel]# cat etc/cloudflare.json
{
 “host_key”:”32yt5a7b436tuy8974tre -”, (For security purposes, this will not be your host key.)
 “host_formal_name”:”Awesome Hosting”,
 “host_name”:”api.cloudflare.com”,
 “host_uri”:”/host-­gw.html”,
 “user_name”:”www.cloudflare.com”,
 “user_uri”:”/api_json.html”,
 “host_port”:”443”,
 “host_prefix”:”cloudflare-­resolve-­to”,
 “cp_version”:”1.3.0”
}
  • Email, SSL
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Install Attracta cPanel & WHM Plugin

  Instal cPanel Plugin Attracta SEO pada setiap server, tempatkan Logo Attracta di situs Anda,...

How to create backup Account via SSH?

Step 1: Log-in to the SSH as Root user. Step 2: Enter the following command string on the...

How to Install mod_geoIP for cPanel

Please do the following steps: # cd /var/cpanel/easy/apache/custom_opt_mods # wget...

EasyApache Bandwidth Module

The module used for limiting bandwidth usage differs depending on the branch of apache you are...

Install Mod_Sec Control di cpanel

1. install ConfigServer ModSecurity Control (cmc) http://www.configserver.com/cp/cmc.html untuk...