Re: Installing PostgreSQL as non-root by Extracting the binaries from RPMs - Mailing list pgsql-general

From Thiagarajan Lakshminarayanan
Subject Re: Installing PostgreSQL as non-root by Extracting the binaries from RPMs
Date
Msg-id CADnrz0r-h4NWbj8mw27SBgM_-FYCSAPc_ueAa5eyKDZ5-3zmLA@mail.gmail.com
Whole thread Raw
In response to Re: Installing PostgreSQL as non-root by Extracting the binaries from RPMs  (Benjamin Scherrey <scherrey@proteus-tech.com>)
Responses Re: Installing PostgreSQL as non-root by Extracting the binaries from RPMs  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Thanks Benjamin.  Actually, we don't use Docker in our environment. We just use a standard RHEL OS install. Will there be any issues if I install PostgreSQL by extracting the RPM binaries?

Please let me know.

Thanks
Raj

On Mon, May 21, 2018 at 10:15 AM, Benjamin Scherrey <scherrey@proteus-tech.com> wrote:
You know this is something super easy to do if you do it within Docker. Advise you to go ahead and map the data directories to the host file system rather than use a storage container until you get a lot more experience with Docker. Otherwise it's crazy easy and, in fact, there already exist Docker images with Postgres installed that you could just download and use. Postgres will be entirely under local user control and requires no system level access.

  -- Ben

On Mon, May 21, 2018 at 9:23 PM, Thiagarajan Lakshminarayanan <thiagu1997@gmail.com> wrote:
Hello,

In our environment, our standard RHEL OS install comes with all the PostgreSQL required packages / libraries installed.  So, can I just extract the binaries from PostgreSQL RPMs via rpm2cpio and create a tar file and install it as non-root user in an alternate location?  I tested the above approach, created a new PostgreSQL instance and it is working fine.  Please let me know if there would be any issues with the above approach?

Thanks
Raj


pgsql-general by date:

Previous
From: Benjamin Scherrey
Date:
Subject: Re: Installing PostgreSQL as non-root by Extracting the binaries from RPMs
Next
From: Tom Lane
Date:
Subject: Re: Installing PostgreSQL as non-root by Extracting the binaries from RPMs