I've found numerous installation instructions for Node.js but they all seem so complicated — I'm not a super sys admin but I can get around. I have yum on the system, but I didn't find any node.js packages, and I'm not sure how to compile code on the server or where to put it.
Centos – How to install Node.JS on CentOS
centosinstallationnode.js
Best Answer
Note that this requires Python 2.6+ to use
./configure
above. You can modify the "configure" file to point topython2.7
in line 1 if necessary.To create an RPM package, you can use FPM:
Now make the
nodejs
package:Then install and check the version:
Source: https://github.com/jordansissel/fpm/wiki/PackageMakeInstall