18 lines
No EOL
560 B
Text
18 lines
No EOL
560 B
Text
----------------- creating the database --------------------
|
|
#installing PostgreSQL the Debian way
|
|
apt-get install postgresql
|
|
su postgres
|
|
#in template1
|
|
psql template1
|
|
#at the prompt write:
|
|
CREATE DATABASE webgo ;
|
|
#now create user who is allowed to administrate this database
|
|
#user and password should be changed;>
|
|
CREATE USER name PASSWORD 'password';
|
|
#now make a super user out of this user:
|
|
#TODO:tighter rights for user, this should be unsecure
|
|
ALTER USER name CREATEUSER;
|
|
#now change the user and password variables in the script
|
|
|
|
webgouser
|
|
webgopassword |