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

From: Alvaro Aguayo Garcia-Rada <aaguayo(at)opensysperu(dot)com>
To: Thiagarajan Lakshminarayanan <thiagu1997(at)gmail(dot)com>
Cc: 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 16:13:12
Message-ID: 1761393940.140960.1526919192477.JavaMail.zimbra@opensysperu.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Aguayo Garcia-Rada 2018-05-21 16:19:46 Re: Will Altering and Modifying tables during backup result in a corrupted server after the restore?
Previous Message Tom Lane 2018-05-21 15:50:02 Re: Installing PostgreSQL as non-root by Extracting the binaries from RPMs