How to Install Node.js on cPanel Server Via WHM?

Node.js is a runtime environment for JavaScript that is open-source, cross-platform, and widely used by developers to create highly scalable and efficient applications. As a cPanel server administrator, you may need to install Node.js on your server to enable users to run Node.js applications on their websites.

To install Node.js on a cPanel server via WHM, follow these steps:

Step 1. Log in to your WHM account and go to the "Software" => "EasyApache 4" section.

Step 2. Click on "Customize" next to the "Currently Installed Packages" option.

Step 3. Install apache24-mod_env, ruby27-mod_passenger, and nodejs16 by reviewing the provided images.

Apache Modules: Mod_env

 

Rubby Via Passenger: rubby27-mod_passenger

Additional Packages: nodejs16

Step 4. Click on the "Review" button to check the changes.

Step 5. Once you've reviewed the changes, click on "Provision" and wait for the installation process to complete. A message confirming the completion of the provisioning process will appear.

Conclusion:

In Conclusion, Node.js is a popular and powerful runtime environment that allows developers to create scalable and efficient applications using JavaScript. Once you have successfully installed Node.js on your cPanel server, you can start using it to run Node.js applications.

To verify that Node.js has been installed correctly on your server, you can use the command line to run "node -v". This command will return the version number of the Node.js runtime that is currently installed on your system.

 


Was this answer helpful?

« Back

chat

/* */