{"id":1031,"date":"2015-09-28T03:01:10","date_gmt":"2015-09-28T08:01:10","guid":{"rendered":"https:\/\/hostease.com\/blog\/?p=1031"},"modified":"2024-11-27T02:09:03","modified_gmt":"2024-11-27T07:09:03","slug":"installation-of-cagefs","status":"publish","type":"post","link":"https:\/\/www.hostease.com\/blog\/cpanel\/installation-of-cagefs\/","title":{"rendered":"Installation of CageFS"},"content":{"rendered":"<p>Minimum Requirements:<br \/>\n\u2022\u00a0\u00a0 \u00a0kernel: CL5 with lve0.8.54 or later, CL6 with lve1.2.17.1 or later<br \/>\n\u2022\u00a0\u00a0 \u00a07GB of disk space<\/p>\n<p>Depending on your setup, and number of users, you might also need:<br \/>\n\u2022\u00a0\u00a0 \u00a0Up to 8MB per customer in \/var directory (to store custom \/etc directory)<br \/>\n\u2022\u00a0\u00a0 \u00a05GB to 20GB in \/usr\/share directory (to store safe skeleton of a filesystem)<\/p>\n<p>Warning: If at any time you decide to uninstall CageFS, please, make sure you follow uninstall instructions<\/p>\n<p>To install CageFS:<\/p>\n<p>$ yum install cagefs<br \/>\n$ \/usr\/sbin\/cagefsctl &#8211;init<\/p>\n<p>That last command will create skeleton directory that might be around 7GB in size. If you don&#8217;t have enough disk space in \/usr\/share, use following commands to have cagefs-skeleton being placed in a different location:<\/p>\n<p>$ mkdir \/home\/cagefs-skeleton<br \/>\n$ ln -s \/home\/cagefs-skeleton \/usr\/share\/cagefs-skeleton<\/p>\n<p>On cPanel servers, if you will be placing skeleton into \/home directory, you must configure the following option in:<\/p>\n<p>cPanel WHM WHM -&gt; Server Configuration -&gt; Basic cPanel\/WHM Setup -&gt; Basic Config -&gt; Additional home directories<\/p>\n<p>Change the value to blank\u00a0 (not default &#8220;home&#8221;)<\/p>\n<p>Without changing this option, cPanel will create new accounts in incorrect places.<\/p>\n<p>CageFS will automatically detect and configure all necessary files for cPanel.<\/p>\n<p>Web interface to manage CageFS is available for cPanel, Plesk 10+, DirectAdmin, ISPmanager &amp; Interworx. Command line tool would need to be used for other control panels.<\/p>\n<p>Once you initialized the template you can start enabling users. By default CageFS is disabled for all users.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to install CageFS on your server to enhance security by isolating user environments. This guide covers the installation steps for different control panels, including cPanel, and how to configure the necessary directories and options for optimal performance.<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[89],"tags":[503,447,442],"class_list":["post-1031","post","type-post","status-publish","format-standard","hentry","category-cpanel","tag-cagefs","tag-php-support","tag-server-management"],"aioseo_notices":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.hostease.com\/blog\/wp-json\/wp\/v2\/posts\/1031","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostease.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostease.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostease.com\/blog\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostease.com\/blog\/wp-json\/wp\/v2\/comments?post=1031"}],"version-history":[{"count":1,"href":"https:\/\/www.hostease.com\/blog\/wp-json\/wp\/v2\/posts\/1031\/revisions"}],"predecessor-version":[{"id":2125,"href":"https:\/\/www.hostease.com\/blog\/wp-json\/wp\/v2\/posts\/1031\/revisions\/2125"}],"wp:attachment":[{"href":"https:\/\/www.hostease.com\/blog\/wp-json\/wp\/v2\/media?parent=1031"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostease.com\/blog\/wp-json\/wp\/v2\/categories?post=1031"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostease.com\/blog\/wp-json\/wp\/v2\/tags?post=1031"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}