Installing PostgreSQL Client v10 on AWS Amazon Linux (EC2) AMI

前端 未结 11 1259
臣服心动
臣服心动 2021-01-30 21:12

I have successfully launched new AWS RDS PostgreSQL v10 instance and need to install PostgreSQL v10 client on Amazon Linux EC2 instance.

I have tried to install

11条回答
  •  忘掉有多难
    2021-01-30 21:56

    for v11 on Amazon Linux 2 I had to do

    yum -y install https://download.postgresql.org/pub/repos/yum/11/redhat/rhel-7-x86_64/pgdg-centos11-11-2.noarch.rpm
    sed -i "s/rhel-\$releasever-\$basearch/rhel-7-x86_64/g" "/etc/yum.repos.d/pgdg-11-centos.repo"
    

提交回复
热议问题