Page "BloodhoundInstall" was changed by attila.lendvai Diff URL: <https://issues.apache.org/bloodhound/wiki/BloodhoundInstall?action=diff&version=27> Revision 27 Comment: change postgres commands to use long args for more clarity on what's happening, and drop unnecessary and confusing --username=postgres Changes: -------8<------8<------8<------8<------8<------8<------8<------8<-------- Index: BloodhoundInstall ========================================================================= --- BloodhoundInstall (version: 26) +++ BloodhoundInstall (version: 27) @@ -48,16 +48,16 @@ Next you will need to add a user and database for bloodhound to use, making sure that the created user is able to access the database. For example: {{{#!sh sudo su - postgres - createuser -U postgres -S -D -R -E -P bloodhound - createdb -U postgres -O bloodhound -E UTF-8 bloodhound + createuser --no-superuser --no-createdb --no-createrole --encrypted --pwprompt bloodhound + createdb --owner=bloodhound --encoding=UTF-8 bloodhound logout }}} Notes for windows users: * you may need to specify the path to the {{{createuser}}} and {{{createdb}}} programs. For example with PostgreSQL 9.2 that would be: {{{#!bat -C:\Program Files\PostgreSQL\9.2\bin\createuser -U postgres -S -D -R -E -P bloodhound -C:\Program Files\PostgreSQL\9.2\bin\createdb -U postgres -O bloodhound -E UTF-8 bloodhound +C:\Program Files\PostgreSQL\9.2\bin\createuser --no-superuser --no-createdb --no-createrole --encrypted --pwprompt bloodhound +C:\Program Files\PostgreSQL\9.2\bin\createdb --owner=bloodhound --encoding=UTF-8 bloodhound }}} * Both these commands should be expected to ask for the password you set for the postgres user, the first command asking for you to set a password for the new role first. -------8<------8<------8<------8<------8<------8<------8<------8<--------
-- Page URL: <https://issues.apache.org/bloodhound/wiki/BloodhoundInstall> Apache Bloodhound <https://issues.apache.org/bloodhound/> The Apache Bloodhound issue tracker This is an automated message. Someone added your email address to be notified of changes on 'BloodhoundInstall' page. If it was not you, please report to .
