Re: Installing PostgreSQL as non-root by Extracting the binaries from RPMs

From: Benjamin Scherrey <scherrey(at)proteus-tech(dot)com>
To: Thiagarajan Lakshminarayanan <thiagu1997(at)gmail(dot)com>
Cc: "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Installing PostgreSQL as non-root by Extracting the binaries from RPMs
Date: 2018-05-21 15:15:04
Message-ID: CACo3ShiXFguhM5O+XvJ9_CbhjCPnN6K4gmMOVopp1QLwxBgdfw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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(at)gmail(dot)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
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Thiagarajan Lakshminarayanan 2018-05-21 15:37:59 Re: Installing PostgreSQL as non-root by Extracting the binaries from RPMs
Previous Message Yashwanth Govinda Setty 2018-05-21 15:03:18 Will Altering and Modifying tables during backup result in a corrupted server after the restore?