Manual Installation of CloudLinux Packages
Follow these commands to install key CloudLinux packages on CentOS 7+, AlmaLinux 8/9, and Rocky Linux 8/9.
1. Enable EPEL & CloudLinux Repos
yum install epel-release -y yum clean all yum repolist
2. Install Prerequisite Packages
yum groupinstall "Development Tools" -y yum install wget curl nano unzip perl bzip2 -y
3. Install CageFS
yum install cagefs -y cagefsctl --init cagefsctl --enable systemctl restart cagefs
4. Install Node.js
yum install nodejs -y node -v npm -v
5. Install Ruby
yum install ruby -y ruby --version
6. Install Multi-PHP Selector (via CloudLinux PHP Selector)
yum groupinstall alt-php -y yum install alt-php-cli alt-php-pear alt-php-mysqlnd alt-php-common -y # To see available PHP versions: alt-php -v
Use CloudLinux PHP Selector in WHM/cPanel to switch PHP versions per user.
7. Install Python 3
# CentOS 7 yum install python3 -y # AlmaLinux / Rocky Linux 8/9 dnf install python3 -y python3 --version
8. Install mod_lsapi (LiteSpeed LSAPI module)
yum install lsapi -y # Restart LiteSpeed server after installation systemctl restart lsws
9. Install MySQL Governor (Database Resource Management)
yum install mysql-governor -y systemctl enable mysql-governor systemctl start mysql-governor
✅ Pro Tip: Regularly run yum update -y
or dnf update -y
to keep your server secure and up-to-date.
❗ Need Help?
Our team can assist with CloudLinux package installation and server optimization.
Contact Support