- Home
- Browse Collections
- Software Collections
- PostgreSQL 9.6
PostgreSQL 9.6 by Software Collections
rh-postgresql95 - A recent stable release of PostgreSQL.
EL6 tests EL7 tests
Project homepage Report a bug in the issue trackerInstructions
You can get started in three easy steps:
# 1. Install a package with repository for your system:
# On CentOS, install package centos-release-scl available in CentOS repository:
$ sudo yum install centos-release-scl
# On RHEL, enable RHSCL repository for you system:
$ sudo yum-config-manager --enable rhel-server-rhscl-7-rpms
# 2. Install the collection:
$ sudo yum install rh-postgresql96
# 3. Start using software collections:
$ scl enable rh-postgresql96 bash
At this point you should be able to use PostgreSQL just as a normal application. Here are some examples of commands you can run:
$ postgresql-setup --initdb
$ service rh-postgresql96-postgresql start
$ psql
Since su and sudo commands clear environment variables, we need to run scl enable once again for example after switching to postgres user role:
$ su - postgres -c 'scl enable rh-postgresql96 -- psql'
In order to view the individual components included in this collection, including additional subpackages, you can run:
$ sudo yum list rh-postgresql96\*
PostgreSQL Software Collection as Docker Formatted Container
On CentOS 7 and RHEL 7 you can pull the image with the following command:
$ docker pull registry.access.redhat.com/rhscl/postgresql-96-rhel7
$ docker pull centos/postgresql-96-centos7
For more on the docker image follow the link to public source repository: https://github.com/sclorg/postgresql-container
Policy
Community Project: Maintained by upstream communities of developers. The software is cared for, but the developers make no commitments to update the repositories in a timely manner.
Yum Repositories
Operating system | Package with repo | Browse files |
---|---|---|
CentOS 6 |
yum install centos-release-scl-rh |
x86_64 |
CentOS 7 |
yum install centos-release-scl-rh |
x86_64 |
RHEL 6 |
yum-config-manager --enable rhel-server-rhscl-6-rpms |
|
RHEL 7 |
yum-config-manager --enable rhel-server-rhscl-7-rpms |
Tags
Rating
Rated by 0 users