Re: postgresql source build instructions for ubuntu 7.04

From: "Leonel Nunez" <listas(at)enelserver(dot)com>
To: "Jon Hancock" <redstarling(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: postgresql source build instructions for ubuntu 7.04
Date: 2008-01-20 16:09:24
Message-ID: 49079.189.231.0.36.1200845364.squirrel@enelserver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> The INSTALL file for postgresql 8.3rc1 lists the following install
> instructions:
>
> ./configure
> gmake
> su
> gmake install
> adduser postgres
> mkdir /usr/local/pgsql/data
> chown postgres /usr/local/pgsql/data
> su - postgres
> /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
> /usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data >logfile 2>&1 &
> /usr/local/pgsql/bin/createdb test
> /usr/local/pgsql/bin/psql test
>
> I get to the 4th step and see I need gmake. I use make instead.
> Things seem ok.
>
> Then all is well, until line 10: /usr/local/pgsql/bin/initdb -D /usr/
> local/pgsql/data
> The bin directory is not accessible to anyone but root due to the
> permissions of the install. Should I have used a different umask for
> the make/install process?
>
> As I'm new to pg, what should I change the permissions to? Should I
> make the entire bin directory executable by anyone?
>
> Does anyone have experience with installing from source on ubuntu
> 7.04?
>
> thanks, Jon
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>

and what are the permissions and owner for
/usr/local/pgsql/data

?

Leonel

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2008-01-20 16:16:29 Re: ATTN: Clodaldo was Performance problem. Could it be related to 8.3-beta4?
Previous Message walterbyrd 2008-01-20 14:34:46 Re: Sun acquires MySQL