Andrew
Andrew

Reputation: 1

Error Installing PostgreSQL on Amazon EC2

I am trying to install PostgreSQL on my micro Amazon EC2 instance through the commands:

sudo su

yum install postgresql postgresql-server postgresql-devel postgresql-contrib postgresql-docs

except it returns the following error message:

yum install postgresql postgresql-server postgresql-devel postgresql-contrib postgresql-docs Loaded plugins: amazon-id, rhui-lb, security Setting up Install Process https://download.postgresql.org/pub/repos/yum/9.3/redhat/rhel-6-x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 407" Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: pgdg93. Please verify its path and try again

I have been trying to figure out the cause of this error to no prevail, could anyone shine some light on potential problems on my instance that I could try correcting?

Thank you in advance,

Upvotes: 0

Views: 1394

Answers (1)

vishesh
vishesh

Reputation: 113

Try out the steps here. This should work https://wiki.postgresql.org/wiki/YUM_Installation

Upvotes: 0

Related Questions