Skip to content

Instantly share code, notes, and snippets.

@ryanhanwu
Forked from Jxck/nodeinstall.sh
Created April 4, 2013 18:14
Show Gist options
  • Select an option

  • Save ryanhanwu/5312716 to your computer and use it in GitHub Desktop.

Select an option

Save ryanhanwu/5312716 to your computer and use it in GitHub Desktop.
# alias
alias ls='ls -la --col'
# JST time
sudo cp /usr/share/zoneinfo/Japan /etc/localtime
# package for build
sudo yum install -y git gcc-c++ openssl-devel make
# install nodebrew
wget https://raw.github.com/hokaccha/nodebrew/master/nodebrew
perl nodebrew setup
echo 'export PATH=$HOME/.nodebrew/current/bin:$PATH' >> .bashrc
source .bashrc
# install node
nodebrew install v0.6.11
nodebrew use v0.6.11
# package for build
sudo apt-get install build-essential libssl-dev
# install nodebrew
wget https://raw.github.com/hokaccha/nodebrew/master/nodebrew
perl nodebrew setup
export PATH=$HOME/.nodebrew/current/bin:$PATH
# install node
nodebrew install v0.6.11
nodebrew use v0.6.11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment