Forked from douglascorrea/install-nodejs-amazon-ec2-centos
Created
August 16, 2016 10:47
-
-
Save davepoon/c56b07ae2d574eddf672d40dbd1910e5 to your computer and use it in GitHub Desktop.
Install NodeJS on Amazon Linux EC2 (CentOS)
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 openssl openssl-devel | |
sudo yum groupinstall "Development Tools" | |
sudo yum install git-core | |
git clone [email protected]:nodejs/node.git | |
cd node | |
./configure | |
make | |
sudo make install | |
node -v | |
sudo yum install curl | |
sudo su | |
PATH=$PATH:/home/ec2-user/node | |
export PATH | |
curl https://www.npmjs.com/install.sh | sh | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment