From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Pavan Kumar <pavan.dba27@gmail.com>
To: pgsql-admin@lists.postgresql.org
Subject: Re: installation of postgres 10.6
Date: Tue, 12 Feb 2019 09:05:47 +0100
Message-ID: <0a9621044ebc825baeea393fb6261a6116056a40.camel@cybertec.at> (raw)
In-Reply-To: <CA+M0sHG76bDFDStjcmnb4RviZ58UUYUAdG9gfM9ys6pb6AeBBw@mail.gmail.com>
References: <CA+M0sHG76bDFDStjcmnb4RviZ58UUYUAdG9gfM9ys6pb6AeBBw@mail.gmail.com>
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
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-admin@postgresql.org
Cc: laurenz.albe@cybertec.at, pavan.dba27@gmail.com
Subject: Re: installation of postgres 10.6
In-Reply-To: <0a9621044ebc825baeea393fb6261a6116056a40.camel@cybertec.at>
References: <CA+M0sHG76bDFDStjcmnb4RviZ58UUYUAdG9gfM9ys6pb6AeBBw@mail.gmail.com> <0a9621044ebc825baeea393fb6261a6116056a40.camel@cybertec.at>
* 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