Open mafernando opened 9 years ago
Notes:
sudo ntpdate ntp.ubuntu.com
Otherwise AWS will not verify your creds.Open Questions:
rails console proudction
to tap into the correct instance, otherwise console will plug into development which is NOT what is neededReferences:
Install Steps:
rpm -Uvh http://yum.postgresql.org/9.4/redhat/rhel-7-x86_64/pgdg-centos94-9.4-1.noarch.rpm
andsudo yum update
before theyum
install commands for posgresql.sudo yum install http://yum.postgresql.org/9.4/redhat/rhel-7-x86_64/pgdg-redhat94-9.4-1.noarch.rpm
sudo yum groupinstall "PostgreSQL Database Server 9.4 PGDG"
sudo /usr/pgsql-9.4/bin/postgresql94-setup initdb
sudo systemctl start postgresql-9.4.service
sudo yum -y install postgresql94-devel
, this isnt included in group installsudo systemctl enable postgresql-9.4.service
sudo systemctl restart postgresql-9.4.service
rpm -Uvh http://yum.postgresql.org/9.4/redhat/rhel-7-x86_64/pgdg-redhat94-9.4-1.noarch.rpm
sudo yum update
, and thensu -
to root user to be able to editpg_hba.conf
. Runexit
after saving edits.gem install pg -v '0.18.2' -- --with-pg-config=/usr/pgsql-9.4/bin/pg_config
is all lower case