Created
March 31, 2011 18:37
-
-
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
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
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
+1