A: Need to install components: NODEJS,NPM,PM2
To install the Epel source:
RPM-IVH http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
RPM--import/etc/pki/rpm-gpg/rpm-gpg-key-epel-6
Installation: Remi Installation Source:
Extension Knowledge: Remi installation Source | One page of Waterscape
https://cnzhx.net/blog/remi-repository/
RPM-IVH http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
RPM--import/etc/pki/rpm-gpg/rpm-gpg-key-remi
Install node's Yum Source:
CURL-SL https://rpm.nodesource.com/setup_10.x | Bash-
Reference Documentation:
Github-nodesource/distributions:nodesource node. js Binary Distributions
Https://github.com/nodesource/distributions
After the configuration is done:
Yum-y Install Nodejs
Node–v View Nodejs version:
Npm–v View NPM version:
Then install PM2 globally:
NPM install-g PM2
Install to the last two warnings: negligible:
Installing NODEJS,NPM,PM2