Re: Migrating From CentOS-6 Oracle 11g R2 To CentOS-7 PostgreSQL ??

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Migrating From CentOS-6 Oracle 11g R2 To CentOS-7 PostgreSQL ??
Date: 2017-12-06 23:10:47
Message-ID: 51ef38ad-d960-cb23-ce64-c7191c906283@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 12/5/2017 10:59 AM, Eugene Poole wrote:
> 2. I don't want to use a RPM because I like controlling where software
> is installed ....

then why are you using CentOS/RHEL ?   those are by design RPM managed
distribution, and rpms with their service scripts etc tend to be pretty
fixed about where they need to be.   things like selinux all need to
know where the components live.

the yum.postgresql.org RPMs all install the binary code to
/usr/pgsql-X.Y/ and default the database location to
/var/lib/pgsql/X.Y/data... if I need the data on a dedicated volume, I
tend to mount said volume to /var/lib/pgsql before I initialize the
database.    reason I do the pgsql dir and not the version specific data
directory is so pg_upgrade can use link mode to upgrade a cluster.

--
john r pierce, recycling bits in santa cruz

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Vijay Chaudhery 2017-12-06 23:26:21 RE: Migrating From CentOS-6 Oracle 11g R2 To CentOS-7 PostgreSQL ??
Previous Message Jeremy Schneider 2017-12-06 22:28:15 Re: Migrating From CentOS-6 Oracle 11g R2 To CentOS-7 PostgreSQL ??