CloudLinux NodeJS Support for cPanel

Last modified: July 30, 2020
You are here:
Estimated reading time: 1 min

Node.js is an open-source, cross-stage JavaScript runtime environment for building up a different assortment of instruments and applications. In spite of the fact that Node.js is not a JavaScript system, a number of its essential modules are composed in JavaScript, and engineers can compose new modules in JavaScript. Node.js is mainly used for hosting different kinds of applications like the Ghost blogging platform etc. The issue is cPanel does not have any support for NodeJS by default, however, it can be installed manually via command line by following our step by step installation guide here – https://www.fastycloud.com/tips/kb/how-to-setup-node-js/

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.

cloudlinux Nodejs

 

4) The users can now manage or create new applications via their cPanel control panel >> Setup Node.js App interface under the “Software” tab.

CloudLinux NodeJS Support for cPanel

 

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.

 

Was this article helpful?
Dislike 0
Views: 16