How to install nodejs

Post Reply
a24uall
Site Admin
Posts: 166
Joined: Sun Jul 01, 2012 9:07 am

How to install nodejs

Post by a24uall »

How to install node.

Install compilers
For 64 bit arch use the below command :
yum install gcc gcc-c++ compat-gcc-64 compat-gcc-64-c++
For 32 bit arch use the below command :
yum install gcc gcc-c++ compat-gcc-32 compat-gcc-32-c++
Install git
yum install git
git clone git://github.com/ry/node.git

Code: Select all

[[email protected] src]# git clone git://github.com/ry/node.git
Initialized empty Git repository in /usr/local/src/node/.git/
remote: Counting objects: 113517, done.
remote: Compressing objects: 100% (35865/35865), done.
remote: Total 113517 (delta 90023), reused 98273 (delta 75896)
Receiving objects: 100% (113517/113517), 69.03 MiB | 5.80 MiB/s, done.
Resolving deltas: 100% (90023/90023), done.
[[email protected] src]#
cd node
./configure
make
make install
Arun
WebhostingDevelopment.com
Post Reply

Return to “Webservers Installation”