Skip to content

Instantly share code, notes, and snippets.

@markgukov
Created March 31, 2011 18:37
Show Gist options
  • Save markgukov/896947 to your computer and use it in GitHub Desktop.
Save markgukov/896947 to your computer and use it in GitHub Desktop.
Here are the steps to install node, npm and express on Amazon 32 bit Linux AMI
Here are the steps to install node, npm and express on Amazon 32 bit Linux AMI:
sudo yum install gcc-c++
sudo yum install openssl-devel
wget http://nodejs.org/dist/node-v0.4.2.tar.gz (Pick the stable version available)
tar -zxvf node-v0.4.2.tar.gz
cd node-v0.4.2
export JOBS=2
./configure
make
sudo make install
sudo su
vi /etc/sudoers (We add node to the path of the sudo)
Find and edit the line “Defaults secure_path …” and add “:/usr/local/bin” to the end of the path
curl http://npmjs.org/install.sh | sudo sh
sudo npm install express
@basketofsoftkittens
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment