Note

You are viewing the documentation for an older release of Interworx (6.x). To see documentation for the current generally available release of Interworx, click here: 7.13.

How to Install and Enable the CloudLinux Plugin for InterWorx

InterWorx provides a plugin for CloudLinux, which allows both NodeWorx and SiteWorx users the ability to access and manage various CloudLinux services.

To Install the CloudLinux Plugin

  1. Log in to the server at the CLI as root, either via SSH or from the terminal

  2. Install CloudLinux with the installer script:

    wget https://repo.cloudlinux.com/cloudlinux/sources/cln/cldeploy
    
  3. Activate the CloudLinux license

    • If using an activation key:

      sh cldeploy -k [activation_key]
      
    • If using an IP based license:

      sh cldeploy -i
      
  4. Install the InterWorx CloudLinux plugin with the following:

    yum install interworx-plugin-cloudlinux
    
  5. Reboot the server:

    reboot
    
  6. (Optional) CageFS and the multiple PHP versions that are provided by CloudLinux can be enabled and installed from the GUI. However, if desired, they can also be installed manually at the command line. To do so, run the following as root:

    • To install and enable CageFS:

      yum install cagefs -y --disablerepo=remi* -y
      cagefsctl –init
      cagefsctl --enable-cagefs
      

    Warning

    If accessing root via a sudo or su user, be sure to add the user to /etc/cagefs/exclude/systemuserlist or /etc/cagefs/exclude/interworx. Before running cagefsctl --init.

    More information on using CageFS from the command line can be found here.

    • To install all CloudLinux PHP versions:

      yum groupinstall alt-php --disablerepo=remi* -y
      

To Enable the CloudLinux Plugin in NodeWorx

  1. Once the installation is complete, log into NodeWorx from the browser (https://ip.ad.dr.ess:2443/nodeworx)

  2. In NodeWorx, navigate to NodeWorx > Plugins

  3. Under Miscellaneous, click the Pencil next to CloudLinux LVE Manager

  4. Select Enabled from the Status dropdown

  5. Click Save

The InterWorx CloudLinux Plugin in NodeWorx (LVE Manager)

After the plugin is enabled, CloudLinux tools can be found in NodeWorx under CloudLinux > Lve Manager

CloudLinux Installation Wizard

The CloudLinux Installation Wizard will automatically display when accessing the LVE Manager for the first time. It allows for to easily installation and set up of CloudLinux OS components on InterWorx.

../../_images/CL-configure.png

More information on the Cloud Linux Installation Wizard can be found here.

LVE Manager

../../_images/cl.png

From the LVE Manger, the following controls can be managed:

  • Current Usage

  • Users

  • CageFS user Management

  • Statistics

  • CloudLinux PHP Selector

  • Nodejs and Python installation

The InterWorx CloudLinux Plugin in SiteWorxWorx

After the SiteWorx account is added to CageFS, CloudLinux tools can be found in SiteWorxWorx under the CloudLinux menu tab. There are four menu options:

  • PHP Selector

  • NodeJS Selector

  • Python Selector

  • Resource Usage