...
Code Block |
---|
$ sudo apt-get install postgrespostgresql |
Configuring the database
Code Block |
---|
$ sudo -u postgres psql -c "create database webclient;" $ sudo -u postgres psql -c "create user webclient;" $ sudo -u postgres psql -c "alter user webclient with encrypted password 'webclient';" $ sudo -u postgres psql -c "grant all privileges on database webclient to webclient;" |
...