Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eMiqI-0006rt-MD for pgsql-general@arkaria.postgresql.org; Wed, 06 Dec 2017 23:11:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eMiqH-000169-Mp for pgsql-general@arkaria.postgresql.org; Wed, 06 Dec 2017 23:11:05 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eMiqH-000160-Fh for pgsql-general@lists.postgresql.org; Wed, 06 Dec 2017 23:11:05 +0000 Received: from hogranch.com ([75.101.82.47]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1eMiqD-0002D7-Uu for pgsql-general@lists.postgresql.org; Wed, 06 Dec 2017 23:11:04 +0000 Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id vB6NAql00730 for ; Wed, 6 Dec 2017 15:10:52 -0800 Subject: Re: Migrating From CentOS-6 Oracle 11g R2 To CentOS-7 PostgreSQL ?? To: pgsql-general@lists.postgresql.org References: <7d805a05-7f1a-a76c-5c61-171ff1b2da1c@comcast.net> From: John R Pierce Message-ID: <51ef38ad-d960-cb23-ce64-c7191c906283@hogranch.com> Date: Wed, 6 Dec 2017 15:10:47 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <7d805a05-7f1a-a76c-5c61-171ff1b2da1c@comcast.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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