Created
May 21, 2013 04:22
-
-
Save kharmabum/5617468 to your computer and use it in GitHub Desktop.
Setting up 64bit Linux on AWS for Node.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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