Jump to content
Compatible Support Forums
Sign in to follow this  
news

[CentOS-announce] Announcing release for PostgreSQL 9.2 and 9.4 on CentOS Linux 7 x86_64 SCL

Recommended Posts

I am pleased to announce the immediate availability of versions 9.2 and

9.4 of the PostgreSQL server on CentOS Linux 7 x86_64, delivered via a

Software Collection (SCL) built by the SCLo Special Interest Group

(https://wiki.centos.org/SpecialInterestGroup/SCLo).

 

QuickStart

----------

You can get started in three easy steps (example of PostgreSQL 9.4):

$ sudo yum install centos-release-scl

$ sudo yum install rh-postgresql94

$ scl enable rh-postgresql94 bash

 

At this point you should be able to use PostgreSQL just as a normal

application. An examples of commands run might be:

$ postgresql-setup --initdb

$ systemctl start rh-postgresql94-postgresql

$ 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-postgresql94 -- psql'

 

In order to view the individual components included in this collection,

including additional subpackages, you can run:

$ sudo yum list rh-postgresql94\*

 

About Software Collections

--------------------------

Software Collections give you the power to build, install, and use

multiple versions of software on the same system, without affecting

system-wide installed packages. Each collection is delivered as a group

of RPMs, with the grouping being done using the name of the collection

as a prefix of all packages that are part of the software collection.

 

The collection rh-postgresql94 delivers version 9.4 of the PostgreSQL

server and related client tools. The collection postgresql92 delivers

version 9.2 of the PostgreSQL server and related client tools. The

collections also include client library libpq.so, which is however only

meant to be used by the server, while other client applications are

advised to use the client library available in postgresql-libs package

from base system.

 

For more on the PostgreSQL, see http://www.postgresql.org.

 

The SCLo SIG in CentOS

----------------------

The Software Collections SIG group is an open community group

co-ordinating the development of the SCL technology, and helping curate

a reference set of collections. In addition to the PostgreSQL

collections being released here, we also build and deliver other

databases, web servers, and language stacks including multiple versions

of MySQL, MariaDB, Apache HTTP Server, NodeJS, Ruby, Python and others.

 

Software Collections SIG release was announced at

https://lists.centos.org/pipermail/centos-announce/2015-October/021446.html

 

You can learn more about Software Collections concepts at:

http://softwarecollections.org

You can find information on the SIG at

https://wiki.centos.org/SpecialInterestGroup/SCLo ; this includes howto

get involved and help with the effort.

 

We meet every second Wednesday at 16:00 UTC in #centos-devel (ref:

https://www.centos.org/community/calendar), for an informal open forum

open to anyone who might have comments, concerns or wants to get started

with SCL's in CentOS.

 

Enjoy!

 

Honza

SCLo SIG member

_______________________________________________

 

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×