{"id":318,"date":"2025-11-12T16:15:50","date_gmt":"2025-11-12T16:15:50","guid":{"rendered":"https:\/\/hosterlink.com\/blog\/?p=318"},"modified":"2025-11-12T16:25:42","modified_gmt":"2025-11-12T16:25:42","slug":"setup-cloudlinux-os-on-almalinux-based-vps-to-better-control-limits-management","status":"publish","type":"post","link":"https:\/\/hosterlink.com\/blog\/setup-cloudlinux-os-on-almalinux-based-vps-to-better-control-limits-management\/","title":{"rendered":"Setup CloudLinux OS on AlmaLinux Based VPS to better control limits management"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Step 1 \u2014 prepare the system<\/h2>\n\n\n\n<p>Run on shell as root (or with sudo):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># update system\ndnf update -y\n\n# install tools\ndnf install -y wget curl<\/code><\/pre>\n\n\n\n<p>(If dnf prompts about restarting services, handle per your routine \u2014 but don\u2019t interrupt the conversion once it starts.)<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2 \u2014 download the CloudLinux conversion script<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>cd \/root\nwget https:\/\/repo.cloudlinux.com\/cloudlinux\/sources\/cln\/cldeploy\nchmod +x cldeploy\n<\/code><\/pre>\n\n\n\n<p>Official CloudLinux docs reference the <code>cldeploy<\/code> converter for AlmaLinux \u2192 CloudLinux. <a href=\"https:\/\/docs.cloudlinux.com\/cloudlinuxos\/cloudlinux_installation\/?utm_source=chatgpt.com\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3 \u2014 run the conversion (use your license key)<\/h2>\n\n\n\n<p>Replace <code>YOUR_LICENSE_KEY<\/code> below with the key you received from CloudLinux. If you purchased via cPanel\/WHM check how the license is provided (sometimes IP-based licenses are used).<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># with license key\nsh cldeploy -k YOUR_LICENSE_KEY<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4 \u2014 verify conversion<\/h2>\n\n\n\n<p>After reboot, SSH back in and check:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># OS release\ncat \/etc\/os-release\n\n# check kernel (CloudLinux kernel shows in uname -r)\nuname -r\n\n# check CloudLinux packages installed\nrpm -qa | grep -i cloudlinux\n<\/code><\/pre>\n\n\n\n<p>You should see CloudLinux OS 9 references in <code>\/etc\/os-release<\/code> and a CloudLinux kernel active.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 5 \u2014 enable and check LVE tools<\/h2>\n\n\n\n<p>CloudLinux includes command-line utilities like <code>lvetop<\/code>, <code>lveps<\/code>, <code>lvectl<\/code>. Quick checks:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># show live LVE usage\nlvetop\n\n# list processes inside LVE for a user (interactive)\nlveps -p\n\n# example: show package list for cloudlinux\nlvectl list\n<\/code><\/pre>\n\n\n\n<p>CloudLinux docs show how to monitor and manage LVEs with these tools.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 6 \u2014 set sensible default LVE limits (recommended for your VPS)<\/h2>\n\n\n\n<p>CloudLinux LVE CPU limits are expressed as <strong>SPEED (%)<\/strong> where <strong>100% = 1 CPU core<\/strong>. So on a 6-vCPU VPS, 600% = all cores. (Docs explain 100% \u2192 1 core). <a href=\"https:\/\/docs.cloudlinux.com\/cloudlinuxos\/limits\/?utm_source=chatgpt.com\" target=\"_blank\" rel=\"noreferrer noopener\">docs.cloudlinux.com+1<\/a><\/p>\n\n\n\n<p>Recommended starting defaults for a multi-site cPanel (you can tighten\/loosen later):<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>SPEED (CPU):<\/strong> <code>50%<\/code> (half a core) \u2014 default for small sites<\/li>\n\n\n\n<li><strong>PMEM (Physical memory):<\/strong> <code>512M<\/code><\/li>\n\n\n\n<li><strong>IO:<\/strong> <code>1024<\/code> (KB\/s)<\/li>\n\n\n\n<li><strong>EP (Entry processes):<\/strong> <code>20<\/code><\/li>\n\n\n\n<li><strong>NPROC (Processes):<\/strong> <code>200<\/code> (or leave default)<\/li>\n<\/ul>\n\n\n\n<p>You can set using <code>lvectl<\/code> (example for username <code>exampleuser<\/code>):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># set limits for a specific user (exampleuser)\nlvectl set exampleuser --speed=50% --pmem=512M --io=1024 --ep=20 --nproc=200\n\n# verify\nlvectl limits exampleuser\n<\/code><\/pre>\n\n\n\n<p>Or you can set defaults in WHM \u2192 <strong>LVE Manager<\/strong> \u2192 Packages and Profiles (preferred for many accounts). Guidance on units and typical values is in CloudLinux docs.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Step 1 \u2014 prepare the system Run on shell as root (or with sudo): (If dnf prompts about restarting services, handle per your routine \u2014 but don\u2019t interrupt the conversion once it starts.) Step 2 \u2014 download the CloudLinux conversion script Official CloudLinux docs reference the cldeploy converter for AlmaLinux \u2192 CloudLinux. Step 3 \u2014 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-318","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/hosterlink.com\/blog\/wp-json\/wp\/v2\/posts\/318","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hosterlink.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hosterlink.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hosterlink.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hosterlink.com\/blog\/wp-json\/wp\/v2\/comments?post=318"}],"version-history":[{"count":4,"href":"https:\/\/hosterlink.com\/blog\/wp-json\/wp\/v2\/posts\/318\/revisions"}],"predecessor-version":[{"id":322,"href":"https:\/\/hosterlink.com\/blog\/wp-json\/wp\/v2\/posts\/318\/revisions\/322"}],"wp:attachment":[{"href":"https:\/\/hosterlink.com\/blog\/wp-json\/wp\/v2\/media?parent=318"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hosterlink.com\/blog\/wp-json\/wp\/v2\/categories?post=318"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hosterlink.com\/blog\/wp-json\/wp\/v2\/tags?post=318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}