cancel
Showing results for 
Search instead for 
Did you mean: 

Installing EDB Postgres Advanced Server 9.6 via YUM

Adventurer

Installing EDB Postgres Advanced Server 9.6 via YUM

Here are quick steps to install EPAS 9.6 on RHEL 6 and RHEL 7 (on containers, but works fine without containers):

 

docker pull centos:centos6
docker run -it centos:centos6 /bin/bash
rpm -Uvh http://yum.enterprisedb.com/edbrepos/edb-repo-9.6-4.noarch.rpm
export YUM_USER=[YUM USERNAME]
export YUM_PASSWORD=[YUM PASSWORD]
sed -i "s/<username>:<password>/$YUM_USER:$YUM_PASSWORD/g" /etc/yum.repos.d/edb.repo
sed -i "\/edbas96/,/gpgcheck/ s/enabled=0/enabled=1/" /etc/yum.repos.d/edb.repo
sed -i "\/enterprisedb-dependencies/,/gpgcheck/ s/enabled=0/enabled=1/" /etc/yum.repos.d/edb.repo
yum install -y edb-as96-server


docker pull centos:centos7
docker run -it centos:centos7 /bin/bash
rpm -Uvh http://yum.enterprisedb.com/edbrepos/edb-repo-9.6-4.noarch.rpm
export YUM_USER=[YUM USERNAME]
export YUM_PASSWORD=[YUM PASSWORD]
sed -i "s/<username>:<password>/$YUM_USER:$YUM_PASSWORD/g" /etc/yum.repos.d/edb.repo
sed -i "\/edbas96/,/gpgcheck/ s/enabled=0/enabled=1/" /etc/yum.repos.d/edb.repo
sed -i "\/enterprisedb-dependencies/,/gpgcheck/ s/enabled=0/enabled=1/" /etc/yum.repos.d/edb.repo
yum install -y edb-as96-server