Question
How can I install NodeJS in WHM?
Procedure
The Application Manager in cPanel allows users to deploy Phusion Passenger applications, including NodeJS apps. To install NodeJS on your system, you'll need to install the supporting packages.
- Navigate to "WHM / Software / EasyApache 4" and click Customize:
- Click the "Apache Modules" section, then ensure mod_env is enabled:
- If you are using a server based on RHEL 8 or above, you will also need to enable mod_passenger under "Apache Modules" as well:
If you are using a server based on RHEL 7, navigate to "Ruby via Passenger" and enable ruby24-mod_passenger instead:
- Next, navigate to the "Additional Packages" section and select a version of NodeJS to install. Only one version can be installed at a time via EasyApache.
- Click "Review" then "Provision" once you've reviewed the packages queued for installation.
Resources
Once NodeJS is installed, you'll need to set up your individual applications in cPanel.
How to Install a Node.js Application | cPanel Docs
Please note that NodeJS is a back-end JavaScript runtime environment. cPanel Support is limited to ensuring the basic functionality of the provided runtime components and cannot directly provide assistance with application code. It's recommended to reach out to a developer for further guidance or refer to NodeJS' official documentation:
Comments
0 comments
Article is closed for comments.