Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gtT4q-000211-9p for pgsql-admin@arkaria.postgresql.org; Tue, 12 Feb 2019 08:06:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gtT4o-0003Fl-OX for pgsql-admin@arkaria.postgresql.org; Tue, 12 Feb 2019 08:05:58 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1gtT4o-0003Fc-GJ for pgsql-admin@lists.postgresql.org; Tue, 12 Feb 2019 08:05:58 +0000 Received: from mx2a.mailbox.org ([2001:67c:2050:104:0:2:25:2] helo=mx2.mailbox.org) by magus.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gtT4m-0004ht-2Y for pgsql-admin@lists.postgresql.org; Tue, 12 Feb 2019 08:05:58 +0000 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id B606CA17E6; Tue, 12 Feb 2019 09:05:53 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp2.mailbox.org ([80.241.60.241]) by hefe.heinlein-support.de (hefe.heinlein-support.de [91.198.250.172]) (amavisd-new, port 10030) with ESMTP id RRVQfCe4ZF45; Tue, 12 Feb 2019 09:05:48 +0100 (CET) Message-ID: <0a9621044ebc825baeea393fb6261a6116056a40.camel@cybertec.at> Subject: Re: installation of postgres 10.6 From: Laurenz Albe To: Pavan Kumar , pgsql-admin@lists.postgresql.org Date: Tue, 12 Feb 2019 09:05:47 +0100 In-Reply-To: References: Organization: Cybertec Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Pavan Kumar wrote: > I am very new to postgres database technology and trying to learn Postgres administration now. > > I have couple of questions on installation. > > I am trying to install postgres from source code and following below document > https://www.postgresql.org/docs/10/install-getsource.html > > here are my question. > > 1. Which user i need to install postgres (root) or do i need to create a separate user for postgres? You configure and build PostgreSQL as a normal user, not "root". Only fir the final step (make install) you will need "root" permissions, if you install the software in /usr or /opt or somewhere else where only root can write. You will need another user (traditionally called "postgres") to own the database files and processes, but that comes after building and installation. Yours, Laurenz Albe -- Cybertec | https://www.cybertec-postgresql.com