How To Install Node.JS in WHM Server?

To install Node.js in WHM is a relatively simple process. 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 runtime on your WHM server to enable users to run Node.js applications on their websites.

Follow the below steps to install Node.js in WHM.

  1. Log in to the WHM with the root user.
  2. Under Software, Select EasyApache 4 section.
    whm easyapache
  3. Click on Customize next to the Currently Installed Packages option.
    whm easyapache customize
  4. Install apache24-mod_env, ruby27-mod_passenger, and nodejs16 by reviewing the images below.
    • Apache Modules: Mod_env
      whm easyapache mod_env
    • Rubby Via Passenger: rubby27-mod_passenger
      whm easyapche ruby27
    • Additional Packages: nodejs16
      whm easyapache node.js
  5. Click on the Review button to check the changes.
    whm easyapache review
  6. Once you’ve reviewed the changes, click on Provision and wait for the installation process to complete. A confirming the completion of the provisioning process message will appear.
    whm easyapache provision

Conclusion: Node.js runtime environment is one of the most powerful and popular environments 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 the Node.js installation on your server, you can run node -v command in the terminal or command line interface. This command will return the version number of the Node.js runtime installed on your server.

Add a Comment

Your email address will not be published. Required fields are marked *