Michael Stewart (vericgar <vericgar <at> gentoo.org> writes:

> Are you looking for the URL you need to type in your browser to get to
> the setup script? Assuming that you haven't changed the DocumentRoot
> setting, try using http://192.168.2.9/htdocs/admin/setup.php


Well, I tried the installation from fresh and now I can get to the 
setup.php page, but I still have a few questions.

During the installation I made these changes, which I'll post to bugzilla
about the document's installation instructions:

As user postgres, following the install guide, I issued this command:
 initdb -D /var/lib/postgresql/data

which failed:
initdb: could not create directory "/var/lib/postgresql": Permission denied

I had to 'chmod 777 /var/lib' to allow the  installation to progress.

Is this OK? a security/problem ?

Then it said:

The files belonging to this database system will be owned by user
"postgres".
This user must also own the server process.

Which 'server process' is it referring to and what does this mean,
exactly? What else, if anything do I need to do?


The message then ended with:
WARNING: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the -A option the
next time you run initdb.

Success. You can now start the database server using:

    postmaster -D /var/lib/postgresql/data
or
    pg_ctl -D /var/lib/postgresql/data -l logfile start


I never did either of these, unlike last time, and the installation 
completed with only one more modification. However, I'm not sure
if I need to add these to some config  file somewhere? Or is the
postgres startup file ok at this point? I guess I also need to
figure out the authentication using the 'pg_hba.conf' file?


Then I just exited from user postgres and completed the installation.

Further on in the installation:

This failed:
'psql template1 postgres <
/usr/portage/net-analyzer/jffnms/files/postgresql_db_tables'

so I had to use:

'psql template1 postgres <
/usr/portage/net-analyzer/jffnms/files/postgresql_db_table'



that's it, but those above questions are still in need of an answer.

thanks,
James



-- 
gentoo-user@gentoo.org mailing list

Reply via email to