[postgis-users] How to start the postgres service without root privilege

strk at refractions.net strk at refractions.net
Tue Mar 22 00:58:09 PST 2005


On Mon, Mar 21, 2005 at 08:26:16PM -0600, Tiger Wings wrote:
> Hi there,
> 
> I built postgresql 8.0 from the source code under Linux.
> But I don't have root right on the system.
> How can start the db server from my own directory?
> Thanks a lot.

Install under your homedir,
Specify an arbitrary port not clashing with other running procs
above 1024, and a datadir again under your home.

$HOME/pgsql/bin/initdb #initialize the database
$HOME/pgsql/bin/pg_ctl start # start the postmaster
$HOME/pgsql/bin/psql # connect

--strk;


> 
> 
> Cheers
> T.W.
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users



More information about the postgis-users mailing list