Skip to content

Instantly share code, notes, and snippets.

@kharmabum
Created May 21, 2013 04:22
Show Gist options
  • Save kharmabum/5617468 to your computer and use it in GitHub Desktop.
Save kharmabum/5617468 to your computer and use it in GitHub Desktop.
Setting up 64bit Linux on AWS for Node.js
sudo yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel
sudo yum install git-core
sudo yum install emacs
# Install nvm: node-version manager
# https://github.com/creationix/nvm
curl https://raw.github.com/creationix/nvm/master/install.sh | sh
# Install rlwrap to provide libreadline features with node # See: http://nodejs.org/api/repl.html#repl_repl
sudo yum install readline-devel
wget http://utopia.knoware.nl/~hlub/uck/rlwrap/rlwrap-0.37.tar.gz
cd rlwrap-0.37
./configure
make
sudo make install
exit
#log back in
nvm install vX.X.X
nvm use vX.X.X
node --version
cd $HOME
git clone git@github.com:kharmabum/dotfiles-1.git
ln -sb dotfiles/.screenrc .
ln -sb dotfiles/.bash_profile .
ln -sb dotfiles/.bashrc .
ln -sb dotfiles/.bashrc_custom .
mv .emacs.d .emacs.d~
ln -s dotfiles/.emacs.d .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment