-
Notifications
You must be signed in to change notification settings - Fork 10
PostgreSQL Installation
ric2b edited this page Sep 8, 2015
·
7 revisions
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:
-
sudo rpm -Uvh file.rpm
, substituting file.rpm with the one you got -
sudo yum install postgresql94-server postgresql94-contrib
-
sudo chkconfig postgresql-9.4 on
- Home
- Overview
- Requirements
- Setup
- Summary and Quick Start
- Database (PostgreSQL) 1. PostgreSQL Installation 2. Configuring the Master 3. Configuring the Slaves 4. Testing Replication 5. Manual Failover
- Load Balancing (PgPool II) 1. PgPool II Installation 2. Configuration 3. Managing and Testing
- Automatic Failover 1. Setting it up 2. Testing
- Troubleshooting
- References