MilesWeb Hosting Forum

Web Hosting Technical Support => How To's => Topic started by: Dipak Bhoi on December 02, 2015, 08:00:47 PM

Title: How to install Node.js on cPanel/WHM server?
Post by: Dipak Bhoi on December 02, 2015, 08:00:47 PM
Hello Folks,

Node.js is a JavaScript runtime and uses an event-driven, non-blocking I/O model that makes it lightweight and efficient. Node.js' package ecosystem, npm, is the largest ecosystem of open source libraries in the world. You can check more information on their official website https://nodejs.org/en.

To install Node.Js run below listed commands one by one.

Quote#cd /usr/local/src

#wget http://nodejs.org/dist/v0.10.26/node-v0.10.26.tar.gz

#tar -zxvf node-v0.10.26.tar.gz

#cd node-v0.10.26

#./configure --prefix=/usr/local

#make

#make install

That's installed the Node.js on the cPanel/WHM server.

To check the node.js version run below command.

Quote#node -v
v0.10.26
That's all Enjoy !! :) ;) :)