Install NPM on SMM
Before you add and configure SMM, you must do a node package manager (NPM) installation, and install the forever module.
On the host where you plan to install the SMM Server, install NPM and the
forever module.
For CentOS
7
yum install -y gcc-c++ make
curl -sL https://rpm.nodesource.com/setup_10.x | sudo -E bash -
sudo yum install nodejs -y
node -v #nodejs version greater than 10
npm -v
npm install forever -g
On
SLES
12
sudo -i zypper addrepo http://download.opensuse.org/repositories/devel:/languages:/nodejs/openSUSE_Leap_15.0 node10
sudo -i zypper refresh
sudo -i zypper nodejs10
node -v
sudo -i npm install forever -g
On
Ubuntu 14, 16, and
18curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash
sudo apt-get install -y nodejs
node -v
sudo npm install forever -g