introduction to node.js - march 2015

9
Introduction to Node.js Daniel Miller - March 2015

Upload: daniel-miller

Post on 19-Jul-2015

36 views

Category:

Software


5 download

TRANSCRIPT

Page 1: Introduction to Node.js - March 2015

Introduction to Node.js

Daniel Miller - March 2015

Page 2: Introduction to Node.js - March 2015

Install via source code

Page 3: Introduction to Node.js - March 2015

Get the source code.

wget http://nodejs.org/dist/v0.12.0/node-v0.12.0.tar.gz

Page 4: Introduction to Node.js - March 2015

Extract archive and cd into the new directory.

tar xzvf node-v* && cd node-v*

Page 5: Introduction to Node.js - March 2015

Get some additional repos. If it’s already in your server you will be told.

sudo yum -y install gcc gcc-c++

Page 6: Introduction to Node.js - March 2015

Configure. Then, make.

./configure —prefix=/home/username/.local

make

Page 7: Introduction to Node.js - March 2015

Install node.

make install

Page 8: Introduction to Node.js - March 2015

Uninstall.

sudo make uninstall

Page 9: Introduction to Node.js - March 2015

Thank you!

Connect with me @evamed123 ~ Daniel Miller