글목록

2015. 2. 13.

[CentOS 6.6] NodeJS Install





32Bit or 64Bit Check

# uname -m




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

# tar xvfz node-v0.12.0-linux-x64.tar.gz

# mv ./node-v0.12.0-linux-x64 /usr/local/node

# vim /etc/profile



export NODE_HOME=/usr/local/node
export PATH=$PATH:$NODE_HOME/bin

# source /etc/profile


# node
> console.log("hellow, world");



댓글 없음:

댓글 쓰기