Install NodeJS on AWS linux

It might be done with simple script:

sudo su
cd /tmp
yum update -y
yum install -y curl
yum groupinstall "Development Tools" -y
wget http://nodejs.org/dist/v0.10.41/node-v0.10.41.tar.gz
tar -zxf node-* && cd node-*
./configure
make
make install

 

nano /etc/sudoers

Add :/usr/local/bin to the end of Defaults    secure_path = /sbin:/bin:/usr/sbin:/usr/bin string

Reboot & check node version:

Screen Shot 2015-12-21 at 17.03.28

Pin It

Leave a Reply