How to install NodeJS on Centos with cPanel?

NodeJS is an open-source and cross-platform server environment. It is a JavaScript runtime built on Chrome’s V8 JavaScript engine which uses JavaScript on the server. cPanel had no support for NodeJS in its previous versions. Recently cPanel introduces support with the release of version v80.

Install NodeJS from SSH

 

We believe you have installed EasyApache on your server.

  1. Login as root from ssh.

  2. Run below command to install NodeJS Package for EasyApache.

# yum install ea-ruby24-mod_passenger ea-apache24-mod_env
# yum install ea-nodejs10

It will install below applications at path /opt/cpanel/ea-nodejs10/bin/ directory.

  • Node.js
  • NPM
  • NPX

 

Install NodeJS from WHM

 

  1. Login to WHM Panel using root.

  2. Under Software click on EasyApache 4.



  3. Click on Customize Button.



  4. Click on Additional Packages and enable NodeJS Button and install it and click on Next Button.



  5. Hit Provision Button to install all the selected Packages with NodeJS.



This is it. You have installed NodeJS on Centos.

Related Articles

The action Install for product MySQL Server 5.7.19 failed.

You may face this error while installing MySQL 5.7 or upgrading MySQL 5.6 to 5.7. Here, is the...

How to Safely Change the Location of MySQL/MariaDB Data Directory on cPanel/WHM Servers?

You may require to change the MySQL data directory due to insufficient partition space on /var or...

How to Hide Your NGINX Server Version.

Sometimes hackers target your server with a technic called banner grabbing. Usually, banner...

How to Manage Linux Cloud VPS From Client Area?

This article will assist you to manage your Linux Cloud VPS from client area (though you will...

How to check PHP and Apache Modules that are Installed on a Linux?

Following are the steps to check which PHP and Apache Modules are installed on Linux. Login via...

  • 0 Users Found This Useful

Was this answer helpful?