Installing/Uninstalling CageFS Print

  • 0

CloudLinux OS is a Linux distribution marketed to shared hosting providers. It is developed by software company CloudLinux, Inc.[1] CloudLinux OS is based on the CentOS operating system; it uses the OpenVZ kernel and the rpm package manager.

CloudLinux OS provides a modified kernel based on the OpenVZ kernel. The main feature is the Lightweight Virtual Environment (LVE) – a separate environment with its own CPU, memory, IO, IOPS, number of processes and other limits.[5] Switching to CloudLinux OS is performed by a provided cldeploy script which installs its kernel, switches yum repositories and installs basic packages to allow LVE to work. After installation the server requires rebooting to load the newly installed kernel. CloudLinux OS doesn’t modify existing packages, so it is possible to boot previous the kernel in the regular way.

Install CageFS:

  • $ yum install cagefs
  • $ /usr/sbin/cagefsctl –init

That last command will create skeleton directory that might be around 7GB in size. If you don't have enough disk space in /usr/share, use following commands to have cagefs-skeleton being placed in a different location:

  • $ mkdir /home/cagefs-skeleton
  • $ ln -s /home/cagefs-skeleton /usr/share/cagefs-skeleton


To uninstall CageFS, start by disabling and removing all directories:

  • $ /usr/sbin/cagefsctl --remove-all

That command will: disable CageFS for all customers, unmount CageFS for all users, removes /usr/share/cagefs-skeleton & /var/cagefs directories. It will not remove /etc/cagefs directory.

Uninstall/Remove CageFS RPM:

  • $ yum remove cagefs

Thank you! Have a great day...................)

Was this answer helpful?

« Back