Changes

Jump to navigation Jump to search
1 byte removed ,  11:39, 9 October 2014
m
no edit summary
Line 11: Line 11:  
This will install nodejs plus c-ares19, http-parser, libuv and v8 from the epel repo, plus libicu from the base repo.
 
This will install nodejs plus c-ares19, http-parser, libuv and v8 from the epel repo, plus libicu from the base repo.
   −
'''Update'''
+
==Updating==
 
* Update using
 
* Update using
 
  yum --enablerepo=epel update nodejs c-ares19 http-parser libuv v8
 
  yum --enablerepo=epel update nodejs c-ares19 http-parser libuv v8
Line 20: Line 20:  
{{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}')
 
  cd /var/git/node
 
  cd /var/git/node
 
  git reset --hard
 
  git reset --hard
 
  git pull origin $RELEASE-release
 
  git pull origin $RELEASE-release
 +
<headertabs/>
    
===Test===
 
===Test===

Navigation menu