Author: jodogne-guest Date: 2015-03-09 08:24:15 +0000 (Mon, 09 Mar 2015) New Revision: 18929
Modified: trunk/packages/orthanc-postgresql/trunk/debian/README.Debian Log: Some clarifications thanks to Karsten Hilbert Modified: trunk/packages/orthanc-postgresql/trunk/debian/README.Debian =================================================================== --- trunk/packages/orthanc-postgresql/trunk/debian/README.Debian 2015-03-07 20:26:49 UTC (rev 18928) +++ trunk/packages/orthanc-postgresql/trunk/debian/README.Debian 2015-03-09 08:24:15 UTC (rev 18929) @@ -29,15 +29,15 @@ # sudo apt-get postgresql -(2) Create an user (whose name is "orthanc" with password - "my_password") and a database (whose name is "orthanc") to +(2) Create an user (whose name is "orthanc_user" with password + "my_password") and a database (whose name is "orthanc_db") to store the content of Orthanc: # sudo -u postgres psql postgres -postgres=# CREATE USER orthanc; -postgres=# ALTER USER orthanc WITH ENCRYPTED PASSWORD 'my_password'; -postgres=# CREATE DATABASE orthanc OWNER orthanc; +postgres=# CREATE USER orthanc_user; +postgres=# ALTER USER orthanc_user WITH ENCRYPTED PASSWORD 'my_password'; +postgres=# CREATE DATABASE orthanc_db OWNER orthanc_user; Hit <Ctrl-D> to exit the PostgreSQL prompt. @@ -48,7 +48,7 @@ "PostgreSQL" : { "EnableIndex" : true, "EnableStorage": true, - "ConnectionUri" : "postgresql://orthanc:my_password@localhost:5432/orthanc" + "ConnectionUri" : "postgresql://orthanc_user:my_password@localhost:5432/orthanc_db" } @@ -56,3 +56,7 @@ # sudo /etc/init.d/orthanc restart # cat /var/log/orthanc/Orthanc.WARNING + + +PS: Note that one can use any name for user and database, as long as +reality and configuration match. _______________________________________________ debian-med-commit mailing list debian-med-commit@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit