pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John R Pierce <pierce@hogranch.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Migrating From CentOS-6 Oracle 11g R2 To CentOS-7 PostgreSQL ??
Date: Wed, 6 Dec 2017 15:10:47 -0800
Message-ID: <51ef38ad-d960-cb23-ce64-c7191c906283@hogranch.com> (raw)
In-Reply-To: <7d805a05-7f1a-a76c-5c61-171ff1b2da1c@comcast.net>
References: <7d805a05-7f1a-a76c-5c61-171ff1b2da1c@comcast.net>

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





view thread (8+ messages)  latest in thread

Message-ID: <51ef38ad-d960-cb23-ce64-c7191c906283@hogranch.com>
Permalink:  ../51ef38ad-d960-cb23-ce64-c7191c906283@hogranch.com/
Also on:    postgresql.org/message-id/51ef38ad-d960-cb23-ce64-c7191c906283@hogranch.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: pierce@hogranch.com
  Subject: Re: Migrating From CentOS-6 Oracle 11g R2 To CentOS-7 PostgreSQL ??
  In-Reply-To: <51ef38ad-d960-cb23-ce64-c7191c906283@hogranch.com>
  References: <7d805a05-7f1a-a76c-5c61-171ff1b2da1c@comcast.net> <51ef38ad-d960-cb23-ce64-c7191c906283@hogranch.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox