PostgreSQL info zu Readme hinzugefügt

This commit is contained in:
SJost 2018-03-07 15:39:41 +01:00
parent 43cb2cfa73
commit b2839a35c5

View File

@ -67,3 +67,24 @@ Assuming Ubuntu or similar
stack:<br> https://docs.haskellstack.org/en/stable/README/#how-to-install
ldap:<br>https://wiki.ubuntuusers.de/OpenLDAP_ab_Precise/
***
# PostgreSQL
Starten als Root:
# systemctl start postgresql
# find / -name postgresql.conf
# cd /var/lib/pgsql/data/
# su - postgres
psql -U uniworx -d uniworx -h 127.0.0.1 -w
--Zeige Tabellen
\dt
--Lösche Tabelle "course" und alle davon abhängigen:
DROP TABLE "course" CASCADE;