[Ask] Cara Lengkap Install CloudFlare Setelah Jadi Partner.

Discussion in 'Cloud Hosting' started by Yubli-JH, 2 Nov 2013.

Thread Status:
Not open for further replies.
  1. Yubli-JH

    Yubli-JH Poster 1.0

    Messages:
    118
    Likes Received:
    1
    Trophy Points:
    18
    Pagi, teman2 yang baik.... Mau tanya?

    Cara lengkap install cloudflare di whm/cpanel gmna ya?

    tadi saya install tapi kayak'a gagal deh.... Soal'a ga ada di tampil di WHM saya....


    Mohon petunjuk'a ya...


    Maklum masih baru...


    Tks Sebeum'a...
     
  2. gatotkacahost.com

    gatotkacahost.com Poster 1.0

    Messages:
    193
    Likes Received:
    26
    Trophy Points:
    28
    Step 1. konek ke root via ssh

    root@server [~]#

    Step 2. masuk ke direktori /usr/local/src:

    root@server [~]# cd /usr/local/src

    Step 3. download module mod_cloudflare:

    root@server [/usr/local/src]# wget --no-check-certificate http://github.com/cloudflare/CloudFlare-Tools/raw/master/mod_cloudflare.c

    Step 4. install pakai apache extensi mod_cloudflare:

    root@server [/usr/local/src]# apxs -a -i -c mod_cloudflare.c

    Step 5. Restart Apache:

    root@server [/usr/local/src]# service httpd restart

    Step 6. update konfigurasi apache :

    root@server [/usr/local/src]# /usr/local/cpanel/bin/apache_conf_distiller --update


    Install CloudFlare plugin untuk CPanel.

    Step 1.

    root@server [/usr/local/src]# curl https://www.cloudflare.com/downloads/cloudflare.tar.gz > cloudflare.tar.gz

    Step 2. Extrak cloudflare.tar.gz

    root@server [/usr/local/src]# tar -zxf cloudflare.tar.gz
    This extracts a directory that includes a UNIQUE ID. For example, the directory will be in this format:
    cloudflare-CloudFlare-CPanel-40cf7b2
    The UNIQUE ID is only: 40cf7b2
    The UNIQUE ID is not cloudflare-CloudFlare-CPanel-40cf7b2

    Step 3.

    root@server [/usr/local/src]# cd cloudflare-CloudFlare-CPanel-UNIQUE ID/cloudflare/

    Step 4.

    root@server [/usr/local/src/cloudflare-CloudFlare-CPanel-UNIQUE ID/cloudflare]# ./install_cf API HOST KEY mod_cf “NAMA PERUSAHAAN”
    Contoh untuk usaha hosting gatot: ./install_cf 56yt8x9s987dfy4324bnv mod_cf “Gatotkacahost.com”

    Step 5. setelah instalasi selesai, akan tampil seperti ini :

    CloudFlare module installed successfully

    Step 6. untuk mengecek apakah sudah berhasil diinstall :

    root@server [/usr/local/src/cloudflare-CloudFlare-CPanel-UNIQUE ID/cloudflare]# cat /usr/local/cpanel/etc/cloudflare.json
    akan terlihat tampilan seperti ini :

    root@server [/usr/local/src/cloudflare-CloudFlare-CPanel-UNIQUE ID/cloudflare]# cat /usr/local/cpanel/etc/cloudflare.json
    {
    “host_key”:”32yt5a7b436tuy8974tre -”, (sebagai contoh host key anda)
    “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”
    }

    Step 7.

    root@server [/usr/local/src/cloudflare-CloudFlare-CPanel-UNIQUE ID/cloudflare]# cd ../../

    Step 8. hapus cloudflare-CloudFlare-CPanel-UNIQUE ID*

    root@server [/usr/local/src]# rm -rf cloudflare-CloudFlare-CPanel-UNIQUE ID*


    Clear.
    Sebagai catatan, anda harus sudah memiliki Host_key yang diberikan oleh cloudflare sebagai mitra cloudflare.
     
  3. Yubli-JH

    Yubli-JH Poster 1.0

    Messages:
    118
    Likes Received:
    1
    Trophy Points:
    18
    Ok ga....tks udah berhasil nhe....
     
  4. internetglobal

    internetglobal Poster 1.0

    Messages:
    69
    Likes Received:
    16
    Trophy Points:
    8
    API HOST KEY
    dapetnya dari mana Tuan?
     
  5. sigmabisnis

    sigmabisnis Hosting Guru Web Hosting (Company)

    Messages:
    2,182
    Likes Received:
    144
    Trophy Points:
    63
    Request via email untuk jadi partner-an ke CloudFlare nya
     
  6. pluto01

    pluto01 Hosting Guru Web Hosting

    Messages:
    3,673
    Likes Received:
    756
    Trophy Points:
    113
    Dapatnya ketika mendaftar jadi partner CloudFlarenya.
     
  7. internetglobal

    internetglobal Poster 1.0

    Messages:
    69
    Likes Received:
    16
    Trophy Points:
    8
    jadi kita kontak CSnya buat minta API HOST KEY?
     
  8. internetglobal

    internetglobal Poster 1.0

    Messages:
    69
    Likes Received:
    16
    Trophy Points:
    8
    kok gini yah Tuan

    Code:
    root@srv4 [/usr/local/src]# wget --no-check-certificate http://github.com/cloudflare/CloudFlare-Tools/raw/master/mod_cloudflare.c
    --2014-02-20 23:50:30--  http://github.com/cloudflare/CloudFlare-Tools/raw/master/mod_cloudflare.c
    Resolving github.com... 192.30.252.130
    Connecting to github.com|192.30.252.130|:80... connected.
    HTTP request sent, awaiting response... 301 Moved Permanently
    Location: https://github.com/cloudflare/CloudFlare-Tools/raw/master/mod_cloudflare.c [following]
    --2014-02-20 23:50:31--  https://github.com/cloudflare/CloudFlare-Tools/raw/master/mod_cloudflare.c
    Connecting to github.com|192.30.252.130|:443... connected.
    HTTP request sent, awaiting response... 302 Found
    Location: https://raw.github.com/cloudflare/CloudFlare-Tools/master/mod_cloudflare.c [following]
    --2014-02-20 23:50:32--  https://raw.github.com/cloudflare/CloudFlare-Tools/master/mod_cloudflare.c
    Resolving raw.github.com... 103.245.222.133
    Connecting to raw.github.com|103.245.222.133|:443... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2014-02-20 23:50:34 ERROR 404: Not Found.
     
Loading...
Thread Status:
Not open for further replies.

Share This Page

Loading...