Introduction
The following guide explains how to install the required packages for using NodeJS on Ubuntu with cPanel's Application Manager feature.
Procedure
You can install NodeJS via EasyApache 4 or via the command-line
To install via EasyApache, follow our general guide:
Ubuntu supports multiple versions of NodeJS. You should first determine the version you'd like to install:
What version of NodeJS does cPanel offer?
To install NodeJS via the command-line, run the following command as root, replacing 'ea-nodejs18' with the version chosen from the previous link.
apt install ea-nodejs18 ea-apache24-mod-passenger ea-apache24-mod-env
Once NodeJS is installed, you'll need to add your Node application to the Application Manager in cPanel:
Comments
0 comments
Article is closed for comments.