Copy link
Managing multiple app environments, such as Node.js and Python, may be difficult—especially without the right tools. This guide explains how to enable Node.js in WHM, install the Python selector on a WHM server, and set up Node.js and Python apps in cPanel hosting. If you’re using CloudLinux VPS hosting, this guide makes version control easier for developers.
Download the CloudLinux installer:wget https://repo.cloudlinux.com/cloudlinux/sources/cln/cldeploy
Run the installer with your license key:sh cldeploy -k YOUR_LICENSE_KEY
Replace YOUR_LICENSE_KEY with your real CloudLinux license key.Alternatively, for IP-based activation, run:sh cldeploy -i
Reboot your server to apply modifications:reboot
Run the following commands as root to install alt-nodejs and alt-python on CloudLinux:
After installation, restart the cPanel service and update CageFS.
1. Log in to WHM
2. Go to CloudLinux Manager.
3. Open the Options tab.
4. Enable:Python SelectorNode.js Selector
To use the command line to set a certain version of Python or Node.js for a user,
cagefsctl --remount-all
lvemanager
passenger.log
cl-selector --select python --version X.X --user USERNAME
CloudLinux with WHM makes it easy, safe, and scalable to manage multiple Node.js and Python environments on shared and VPS hosting servers. This powerful combination ensures seamless version control, enhanced security, and optimal performance for web developers and hosting providers managing diverse application stacks.
Save my name, email, and website in this browser for the next time I comment.
Or copy link