[med-svn] r8562 - trunk/packages/gmod/chado/trunk/debian
olivier sallou
osallou-guest at alioth.debian.org
Mon Nov 14 10:48:28 UTC 2011
Author: osallou-guest
Date: 2011-11-14 10:48:28 +0000 (Mon, 14 Nov 2011)
New Revision: 8562
Modified:
trunk/packages/gmod/chado/trunk/debian/README.Debian
Log:
Add first install additional instructions
Modified: trunk/packages/gmod/chado/trunk/debian/README.Debian
===================================================================
--- trunk/packages/gmod/chado/trunk/debian/README.Debian 2011-11-14 10:44:20 UTC (rev 8561)
+++ trunk/packages/gmod/chado/trunk/debian/README.Debian 2011-11-14 10:48:28 UTC (rev 8562)
@@ -2,8 +2,28 @@
It loads its configuration from /etc/gmod/gmod-chado.conf
If file is not present, or configuration is not correct (db user not created ...),
-package will however continue its install, with a warning message containing instructions
+package will continue its install, with a warning message containing instructions
for a manual schema installation.
-Database instructions are available in /usr/share/doc/chado/INSTALL.Chado
+Instructions to create user and database:
+**********************
+Connect with user postgres
+
+postgres at debiansid:~$ createuser --createdb -P chado
+Enter password for new role:
+Enter it again:
+Shall the new role be a superuser? (y/n) n
+Shall the new role be allowed to create more new roles? (y/n) n
+root at debiansid:/usr/share/gmod/chado# psql -U chado -W -h localhost template1
+Password for user chado:
+psql (9.1.1)
+SSL connection (cipher: DHE-RSA-AES256-SHA, bits: 256)
+Type "help" for help.
+
+template1=> CREATE DATABASE "gmod-chado"
+
+***********************
+
+Additional instructions for database tuning are available in /usr/share/doc/chado/INSTALL.Chado
+
More information about the debian-med-commit
mailing list