Skip to content

PostgreSQL Installation

ric2b edited this page Sep 8, 2015 · 7 revisions

PostgreSQL Installation

I actually had to install PostgreSQL on both machines with CentOS 6.5 and CentOS 7.1, so you get instructions for both ;)

So here we go:

Get the version 9.4 rpm for your distribution, CentOS 6 or CentOS 7 (these links are for x64, you can go here if you need x86 or want to install on another Gnu/Linux distro)

Open a terminal, change to the directory where you saved the rpm file and run the following commands:

  1. sudo rpm -Uvh file.rpm, substituting file.rpm with the one you got

  2. sudo yum install postgresql94-server postgresql94-contrib

  3. sudo chkconfig postgresql-9.4 on