Archive for March, 2016

Yum install postgresql 9.5 on Amazon Linux EC2

Thursday, March 24th, 2016

Install:

sudo yum localinstall https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-6-x86_64/pgdg-ami201503-95-9.5-2.noarch.rpm

sudo yum -y install postgresql95 postgresql95-server postgresql95-devel postgresql95-contrib postgresql95-plpython

Init & Start:

sudo su - postgres -c "/usr/pgsql-9.5/bin/initdb 
sudo service  postgresql-9.5 start

Postresql Yum Repository rpms

Good install steps information

Yum install node.js 5.x on Amazon Linux

Thursday, March 24th, 2016
sudo -i
wget -qO- https://rpm.nodesource.com/setup_5.x | bash -
yum install -y gcc-c++ make
yum install -y nodejs

Source