CloudLinux NodeJS Support for cPanel
The bad side is, the above couldn’t have any user-friendly interface, so it would be hard to configure and set up an application in it. The CloudLinux provides a much friendly interface for the same by designing NodeJS selector and can be managed through the website cPanel interface easily. The CloudLinux OS enhances server strength, security, adaptability, and permits framework executives to track substantial asset utilization in shared facilitating situations. Here I’m are going to describe on how we can install this utility on a cPanel server.
1) Login to the server as a root user via SSH, and run the following commands to install the various versions of NodeJS packages provided by CloudLinux repository.
#yum groupinstall alt-nodejs6 alt-nodejs8 alt-nodejs9 alt-nodejs10 alt-nodejs11 –enablerepo=cloudlinux-updates-testing
2) Make sure to install LVE Manager, Passenger Apache module and CageFS (for extra security) utilities on the server by running below commands.
#yum install lvemanager lve-utils ea-apache24-mod-alt-passenger cagefs –enablerepo=cloudlinux-updates-testing
3) Once the above has completed, you can now go to the WHM interface >> CloudLinux LVE Manager and in “Options” tab click on “Node.js” option where you can view the installed versions. Through this interface, you can completely turn off the NodeJS support or can disable/remove or make a specific version as default as your wish.
4) The users can now manage or create new applications via their cPanel control panel >> Setup Node.js App interface under the “Software” tab.
We will go through a sample NodeJS application creation/managing through this utility to familiarize much more via another article.
If you should require any assistance in setting up the above, please feel free to reach out to our support department.