init
This commit is contained in:
commit
a5eb556ebb
58 changed files with 911 additions and 0 deletions
18
INSTALL
Normal file
18
INSTALL
Normal file
|
@ -0,0 +1,18 @@
|
|||
----------------- 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
|
Loading…
Add table
Add a link
Reference in a new issue