{{Warning box|This procedure requires installation of gcc and could significantly compromise your server's security.<br />Thorough understanding of linux system management is required.<br /><br /><b>Proceed at your own risk</b>}}
{{Warning box|This procedure requires installation of gcc and could significantly compromise your server's security.<br />Thorough understanding of linux system management is required.<br /><br /><b>Proceed at your own risk</b>}}
−
===Prerequesites===
+
==Prerequesites==
* Requires Python 2.7 installed as described in [[Python Altinstall]]
* Requires Python 2.7 installed as described in [[Python Altinstall]]
* git and g++
* git and g++
yum -y install git gcc-c++
yum -y install git gcc-c++
−
===Install===
+
==Install==
mkdir -p /var/git
mkdir -p /var/git
cd /var/git
cd /var/git
Line 37:
Line 37:
make
make
make install
make install
−
<headertabs/>
−
===Update===
+
+
===Updating===
RELEASE=$(curl -s http://nodejs.org/download/ |grep Current\ version |awk -F"[><]" '{print $5}')
RELEASE=$(curl -s http://nodejs.org/download/ |grep Current\ version |awk -F"[><]" '{print $5}')