Install Cloudlinux in cPanel

  • Post author:
  • Post category:cPanel

PREPARATION

  • Obtain the Cloud Linux License from manage2.cpanel.net
  • Obtain permission from the customer to reboot the server.
  •   

    In cPanel:

    /usr/local/cpanel/cpkeyclt
    /usr/local/cpanel/bin/cloudlinux_system_install -k

    ~Possible error: Might see "Yum error: Plugins are disabled".

    ~Add "plugins=1" to /etc/yum.conf and try again.
    echo "plugins=1" >> /etc/yum.conf that should do the trick

    shutdown -ar now

    ~When its back up rebuild apache.

    /usr/local/cpanel/scripts/easyapache --build

      
    3rd party license

    wget http://repo.cloudlinux.com/cloudlinux/sources/cln/cpanel2cl
    sh cpanel2cl -k $key
    ~Replace $key with your license key.
    reboot
    /scripts/easyapache --build

      

    (more…)

    Continue ReadingInstall Cloudlinux in cPanel

    mod_cloudflare and mod_cloudflare cpan

    • Post author:
    • Post category:Apache

    mod_cloudflare

    When using Cloudflare, in order to retrieve the actual visitors IP that connect to your server, you must install mod_cloudflare. Normally when using Cloudflare, all of the IP’s that connect to your web server will come from a Cloudflare IP address. mod_cloudflare is an Apache module that forces Apache to log actual visitor IP addresses instead of cloudflare server IP’s. It can be installed on servers running cPanel, using the following commands:

    cd /usr/local/src
    wget --no-check-certificate http://github.com/cloudflare/CloudFlare-Tools/raw/master/mod_cloudflare.c
    apxs -a -i -c mod_cloudflare.c
    service httpd restart
    /usr/local/cpanel/bin/apache_conf_distiller --update

    (more…)

    Continue Readingmod_cloudflare and mod_cloudflare cpan