Procedure
- Access the server’s command line as the ‘root’ user via SSH or “Terminal” in WHM.
- Install the alt-python packages.
- CloudLinux 6/7
yum groupinstall alt-python -y - CloudLinux 8/9
dnf groupinstall alt-python -y
- CloudLinux 6/7
- Install the
lvemanager,lve-utils, andalt-python-virtualenvpackages.- CloudLinux 6/7
yum install lvemanager lve-utils alt-python-virtualenv -y - CloudLinux 8/9
dnf install lvemanager lve-utils alt-python-virtualenv -y
- CloudLinux 6/7
- Install the passenger module.
- CloudLinuxOS 6
yum install ea-ruby24-mod_passenger -y - CloudLinuxOS 7
yum install ea-ruby27-mod_passenger -y - CloudLinux 8
dnf install ea-ruby27-mod_passenger -y - CloudLinux 9
dnf install ea-apache24-mod-passenger -y
Source: https://support.cpanel.net/hc/en-us/articles/1500007538481-How-to-install-Python-Selector-for-use-with-cPanel-on-a-CloudLinux-server-from-the-command-line
- CloudLinuxOS 6
