Murvin Lai
  • Me
  • Career
  • Tech Blog
  • My Projects
  • Open Source
    • Install Node.js
    • Node.JS + MongoDB on AWS
    • Node.js + MongoDB + Mongoose
    • Node Crypto Performance
    • NPM
    • My Node Tips
    • Dev NoTe
    • Req and Res in Node.js
    • Remote HTTP Request
  • Foodies
    • My Menu
  • lO_Ok

Install Node.js 

Go to Github Joyent page:
https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager




------- Below is the previous old way to install ------

Environment: Linux, CentOS 


Command line:
1) Install gcc
$ yum install gcc-c++

2) Install SSL & Open SSL Dev. package
$ sudo yum -y install openssl-devel

3) download node.js files and unzip it
$ curl -O http://nodejs.org/dist/node-v0.4.6.tar.gz
$ tar -xzf node-v0.4.6.tar.gz

4) Rename the unzipped folder name to just "nodejs"
$ cd nodejs
$ sudo ./configure 
$ sudo make$ sudo make install

** Make usually takes a very long time.

----------------------------------------------------------------------
Environment: Linux, Ubuntu

Command line:
1) Install gcc
$ sudo apt-get install build-essential

2) Install SSL & Open SSL Dev. package
$ sudo apt-get install libssl-dev

3) download node.js files and unzip it$ curl -O http://nodejs.org/dist/node-v0.4.6.tar.gz
$ tar -xzf node-v0.4.6.tar.gz

4) Rename the unzipped folder name to just "nodejs"
$ cd nodejs
$ sudo ./configure 
$ sudo make$ sudo make install

** Make usually takes a very long time.

*** Please keep updating your apt-get often.
Copyright @2012 Murvinlai.com