From: Alvaro Aguayo Garcia-Rada <aaguayo@opensysperu.com>
To: Thiagarajan Lakshminarayanan <thiagu1997@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Installing PostgreSQL as non-root by Extracting the binaries from RPMs
Date: Mon, 21 May 2018 11:13:12 -0500 (PET)
Message-ID: <1761393940.140960.1526919192477.JavaMail.zimbra@opensysperu.com> (raw)
In-Reply-To: <CADnrz0oEf51A6Y10PtN+rjBBVJrxa8Bo=K2THRtjR+i46Vh+qw@mail.gmail.com>
References: <CADnrz0oEf51A6Y10PtN+rjBBVJrxa8Bo=K2THRtjR+i46Vh+qw@mail.gmail.com>
Should work with no problem, but I would not recommend it. You may not be able to setup a service(SysV or systemd) to automatically start postgres, and updating version could be troublesome.
Regards,
Alvaro Aguayo
Operations Manager
Open Comb Systems E.I.R.L.
Office: (+51-1) 3377813 | Mobile: (+51) 995540103 | (+51) 954183248
Web: www.ocs.pe
----- Original Message -----
From: "Thiagarajan Lakshminarayanan" <thiagu1997@gmail.com>
To: pgsql-general@lists.postgresql.org
Sent: Monday, 21 May, 2018 09:23:28
Subject: Installing PostgreSQL as non-root by Extracting the binaries from RPMs
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
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: aaguayo@opensysperu.com, thiagu1997@gmail.com
Subject: Re: Installing PostgreSQL as non-root by Extracting the binaries from RPMs
In-Reply-To: <1761393940.140960.1526919192477.JavaMail.zimbra@opensysperu.com>
References: <CADnrz0oEf51A6Y10PtN+rjBBVJrxa8Bo=K2THRtjR+i46Vh+qw@mail.gmail.com> <1761393940.140960.1526919192477.JavaMail.zimbra@opensysperu.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