indexzero
9/28/2010 - 3:46 AM

Install-Node-CentOS.sh

yum update
rpm -ivh http://repo.webtatic.com/yum/centos/5/`uname -i`/webtatic-release-5-1.noarch.rpm
yum install --enablerepo=webtatic git-all
yum install openssl-devel pkgconfig gcc gcc-c++ kernel-devel make
cd /usr/src
git clone http://github.com/ry/node.git
cd node
./configure
make
make install
cd ../
http://github.com/isaacs/npm.git
cd npm
make install