diff --git a/conf/docker-aio/c7.dockerfile b/conf/docker-aio/c7.dockerfile index be19151abcc..cef663c9583 100644 --- a/conf/docker-aio/c7.dockerfile +++ b/conf/docker-aio/c7.dockerfile @@ -1,6 +1,6 @@ FROM centos:7 # OS dependencies -RUN yum install -y https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm +RUN yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm #RUN yum install -y java-1.8.0-openjdk-headless postgresql-server sudo epel-release unzip perl curl httpd RUN yum install -y java-1.8.0-openjdk-devel postgresql96-server sudo epel-release unzip perl curl httpd RUN yum install -y jq lsof awscli diff --git a/doc/sphinx-guides/source/installation/prerequisites.rst b/doc/sphinx-guides/source/installation/prerequisites.rst index c01b9b2a9d3..6e11752985d 100644 --- a/doc/sphinx-guides/source/installation/prerequisites.rst +++ b/doc/sphinx-guides/source/installation/prerequisites.rst @@ -101,16 +101,16 @@ Installing PostgreSQL Version 9.6 is strongly recommended because it is the version developers and QA test with:: - # yum install -y https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-centos96-9.6-3.noarch.rpm + # yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm # yum makecache fast # yum install -y postgresql96-server # /usr/pgsql-9.6/bin/postgresql96-setup initdb # /usr/bin/systemctl start postgresql-9.6 # /usr/bin/systemctl enable postgresql-9.6 -Note that the steps above are specific to RHEL/CentOS 7. For RHEL/CentOS 6 use:: +Note that the steps above are specific to RHEL/CentOS 7. For RHEL/CentOS 8 use:: - # yum install -y https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-6-x86_64/pgdg-centos96-9.6-3.noarch.rpm + # yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm # yum makecache fast # yum install -y postgresql96-server # service postgresql-9.6 initdb diff --git a/scripts/vagrant/setup.sh b/scripts/vagrant/setup.sh index ab8fc97e8b5..3dcba6de79d 100644 --- a/scripts/vagrant/setup.sh +++ b/scripts/vagrant/setup.sh @@ -23,7 +23,7 @@ java -version javac -version # switching to postgresql-9.6 per #4709 -yum install -y https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm +yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm yum makecache fast yum install -y postgresql96-server /usr/pgsql-9.6/bin/postgresql96-setup initdb