Re: installation of postgres 10.6 - Mailing list pgsql-admin

From Laurenz Albe
Subject Re: installation of postgres 10.6
Date
Msg-id 0a9621044ebc825baeea393fb6261a6116056a40.camel@cybertec.at
Whole thread Raw
In response to installation of postgres 10.6  (Pavan Kumar <pavan.dba27@gmail.com>)
List pgsql-admin
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



pgsql-admin by date:

Previous
From: Shreeyansh Dba
Date:
Subject: Re: installation of postgres 10.6
Next
From: Pepe TD Vo
Date:
Subject: Re: insert data with invalid input syntax for integer:"42P01"