Knowledge Base
MilesWeb / cPanel, Web Host Manager

How To Install Node.js On cPanel Server Via WHM?

Approx. read time : 3 min

Watch this video for a step by step process on how to Install Node.js On cPanel Server Via WHM

In the latest v80 release of cPanel, they have introduced the support for Node.js. Earlier cPanel did not provide any support for Node.js. It had to be either manually installed on the server or by purchasing Cloud Linux if they provided the Node.js support.

Node.js is an open-source, multi-channel JavaScript runtime environment that is used for creating a different assortment of applications. in light of the fact that Node.js is not a complete JavaScript mechanism, it is true that many of its important modules are created in JavaScript. Node.js is primarily used for hosting several types of applications like the ghost blogging platform.

The requirements of cPanel’s NodeJS package are mentioned below:

  1. CentOS 6 or 7, Red Hat® Enterprise Linux® (RHEL) 6 or 7, or Cloud Linux™ 6 or 7 OS
  2. EasyApache 4
  3. Require root-level access.

Pre-installation settings for installing a Node.js application:

Before you start, you need to make sure that your web host has installed the below mentioned EasyApache4 RPMs on your server:

  • Click on the ‘Customize’ option in EasyApache4.

Proceed to ‘Apache Modules’ and ‘Ruby via Passenger’ for installing the following pre-requisites:

 

Pick A Node Js Hosting Plans for Better App Deployment!

Install  the following RPMs:

  • ea-ruby27-mod_passenger

  • ea-apache24-mod_env

  • ea-nodejs10

  • ea-ruby27-ruby-devel

The installation process of Node.Js:

Method 1

  • Login to WHM with root access.

 

 

  • From the left side search bar, look for the ‘Terminal’ and click on it.

 

  • Terminal window will get open on the screen.

 

  • To install ruby 24 mod passenger, type this command yum install ea-ruby24-mod_passenger ea-apache24-mod_env and press Enter.

 

  • Now, it will ask for the confirmation in that type “y” and hit Enter. You will get a success message.
  • To install node.js, type this command, yum install ea-nodejs10 and press Enter.

 

  • Now, it will ask for the confirmation in that type “y” and hit enter.
  • You will get a message as node.js installed successfully.

Method 2 (UI)

  • Login to WHM through root login.

 

 

  • Click on ‘EasyApache4’ in the Software section.

 

 

  • Click on the ‘Customize’ option for installing new packages.

 

 

  • Next, you need to click on ‘Additional Packages’.

 

  • Toggle the button next to the Nodejs10 package and click on ‘Next’.

 

 

  • In the next window, an overview of all the packages that will be installed will be shown. Ensure that there are no packages listed in the third column. If everything looks good, click on ‘Provision’ for starting the installation process.

 

 

After this process, the cPanel users can install the Node.js web applications through:

  • Cloning through the Git version of cPanel.
  • Creating a new application through the ‘Application Manager.

You can get in touch with the support team if you need any assistance in implementing the above process.

 

My aim is to create enriching content on topics related to SEO, web hosting and social media. The idea is to elevate the readers to new levels of usability, accessibility and understanding.

Trusted By Thousands of Clients & Big Businesses

We highly appreciate the kind and stellar feedback we receive from our customers. Delivering the best is our goal! MilesWeb is rated Excellent out of 5 based on reviews. Read more reviews.

Excellent
Based on reviews
2 hours ago
Perfect and Valuable Server + ...
I am using MilesWeb Servers, The main thing which I getting are continuous support over everything w...
Gunjan Makwana
4 hours ago
Milesweb is superb Hosting pro...
Milesweb is superb Hosting provider ever, their Support team is amazing!!!...
Abhishek Singh
15 hours ago
Great support in great timing...
We need urgent assistance on changes in a primary domain on our client's Cpanel accounts and reached...
Riyaju Deen
21 hours ago
Best Website Hosting platform ...
I was new on MilesWeb. And needed help on multiple areas from setting up to getting started with cre...
Harshada
1 days ago
Very quick and helpful assista...
Very quick and helpful assistance. Support person listened properly and provided a nice solution....
Narendra
1 days ago
the team is very supportive th...
the team is very supportive though at times effort needs to be made to make understand the problem s...
Suree Sharma
1 days ago
I am using miles web for 3plus...
I am using miles web for 3plus years, very quick and perfect support by the team, they helped me man...
Sri Raghav
2 days ago
The service is good...
The service is good. They are answering with patience and doing the needful as soon as possible....
MR
2 days ago
Perfect and Valuable Server + ...
I am using MilesWeb Servers, The main thing which I getting are continuous support over everything w...
Gunjan Makwana
3 days ago
Very quick and helpful assista...
Very quick and helpful assistance. Support person listened properly and provided a nice solution....
Narendra
4 days ago
positively helped me with find...
positively helped me with finding insecure content on my website causing SSL to not work properly on...
Thaviraj Junglee
4 days ago
Exceptional support, Truly Pra...
I had opted for the basic wordpress hosting plan as I intended to experiment with various plug-ins. ...
Aseem Chandna