Knowledgebase

How to install CageFS manually?

Installing CageFS manually requires you to follow specific steps outlined by the CloudLinux team. The following instructions are accurate as of my last knowledge update in September 2021. If there have been any changes or updates after that date, I recommend consulting the official CloudLinux documentation or support resources.

Here is a general outline of how you can manually install CageFS:

  1. Download CageFS:

    Obtain the CageFS installation script from CloudLinux's official website or through their support channels.

  2. Run the Installation Script:

    Execute the CageFS installation script with root privileges. The command might look something like:

    bash

 

  • sudo sh cagefs*.sh

    Replace cagefs*.sh with the actual name of the CageFS installation script.

  • Configure CageFS:

    During the installation process, you will be prompted to configure CageFS. Follow the prompts to set up CageFS based on your specific server configuration.

  • Enable CageFS:

    After installation, enable CageFS with the following command:

    bash
  • cagefsctl --enable
  • Mount CageFS:

    Use the following command to mount CageFS:

    bash
  • cagefsctl --init
  • Check CageFS Status:

    Verify that CageFS is running correctly by using the command:

    bash
  • cagefsctl --check
  • Add Users to CageFS:

    To add a user to CageFS, use the cagefsctl a command followed by the --addrpm or --adduser flag, depending on whether you want to add a user or a package:

    bash
  • cagefsctl --adduser username

    Replace username with the actual username you want to add.

  • Rebuild CageFS Skeleton:

    If you've made changes to system files or added third-party software, you might need to rebuild the CageFS skeleton:

    bash

 

  1. cagefsctl --remount-all
  2. Restart Services (if necessary):

    Depending on your server setup, you may need to restart services like web server, PHP, etc., for CageFS changes to take effect.

Please note that this is a general outline and the actual steps may vary depending on your specific server setup, the version of CageFS you're using, and any specific configurations or customizations you have in place.

Always ensure that you have backups available before making significant modifications to your server configuration. If you encounter any issues during the installation process, consider consulting the CloudLinux documentation or reaching out to their support team for assistance.

  • 0 Users Found This Useful
Was this answer helpful?