January 6th, 2014 by Gia
[email protected]:~# apt-get update
[email protected]:~# apt-get install git-core curl build-essential openssl libssl-dev
[email protected]:~# apt-get install daemon
[email protected]:/var/tmp# cd /var/tmp
[email protected]:/var/tmp# git clone https://github.com/joyent/node.git
[email protected]:/var/tmp/node# cd node
[email protected]:/var/tmp/node# git tag (to show all version of node)
[email protected]:/var/tmp/node# git checkout v0.10.15
[email protected]:/var/tmp/node# ./configure
[email protected]:/var/tmp/node# make
[email protected]:/var/tmp/node# make install
[email protected]:/var/tmp/node# node -v
[email protected]:/var/tmp/node# cd ..
[email protected]:/var/tmp# curl https://npmjs.org/install.sh | sudo sh
[email protected]:/var/tmp# npm -v
[email protected]:/var/tmp# npm install -g jsbin
[email protected]:/var/tmp# vi /usr/local/lib/node_modules/jsbin/config.default.json (change url:host value from localhost to IP public address)
[email protected]:/var/tmp# daemon /usr/local/bin/jsbin

Comments

comments

Tags:
Posted in Linux, Programming, ubuntu | Comments Off on JS Bin in local computer (Ubuntu)
Comments are closed.