Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fKnQI-0006KY-Tp for pgsql-general@arkaria.postgresql.org; Mon, 21 May 2018 16:12:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fKnQH-0008AG-FM for pgsql-general@arkaria.postgresql.org; Mon, 21 May 2018 16:12:33 +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.89) (envelope-from ) id 1fKnQH-0008A7-7a for pgsql-general@lists.postgresql.org; Mon, 21 May 2018 16:12:33 +0000 Received: from adriana.opensysperu.com ([2607:5300:60:8392::1004]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fKnQE-0002Lv-7K for pgsql-general@lists.postgresql.org; Mon, 21 May 2018 16:12:32 +0000 Received: from localhost (localhost [IPv6:::1]) by adriana.opensysperu.com (Postfix) with ESMTP id 91BC4826DB; Mon, 21 May 2018 11:13:13 -0500 (-05) Received: from adriana.opensysperu.com ([IPv6:::1]) by localhost (adriana.opensysperu.com [IPv6:::1]) (amavisd-new, port 10032) with ESMTP id sOrSJKIlizxH; Mon, 21 May 2018 11:13:12 -0500 (-05) Received: from localhost (localhost [IPv6:::1]) by adriana.opensysperu.com (Postfix) with ESMTP id C1926826E3; Mon, 21 May 2018 11:13:12 -0500 (-05) X-Virus-Scanned: amavisd-new at opensysperu.com Received: from adriana.opensysperu.com ([IPv6:::1]) by localhost (adriana.opensysperu.com [IPv6:::1]) (amavisd-new, port 10026) with ESMTP id gLCwIKnnUkkT; Mon, 21 May 2018 11:13:12 -0500 (-05) Received: from adriana.opensysperu.com (adriana.opensysperu.com [158.69.30.115]) by adriana.opensysperu.com (Postfix) with ESMTP id 9CDC9826DB; Mon, 21 May 2018 11:13:12 -0500 (-05) Date: Mon, 21 May 2018 11:13:12 -0500 (PET) From: Alvaro Aguayo Garcia-Rada To: Thiagarajan Lakshminarayanan Cc: pgsql-general@lists.postgresql.org Message-ID: <1761393940.140960.1526919192477.JavaMail.zimbra@opensysperu.com> In-Reply-To: References: Subject: Re: Installing PostgreSQL as non-root by Extracting the binaries from RPMs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Mailer: Zimbra 8.8.7_GA_1964 (ZimbraWebClient - GC66 (Linux)/8.8.7_GA_1964) Thread-Topic: Installing PostgreSQL as non-root by Extracting the binaries from RPMs Thread-Index: KXJRTqd+8wcPgaS6689395p1boPCiA== List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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" 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