update deployment documentation
This commit is contained in:
parent
3a3a25b9b1
commit
2823e6a1fc
|
@ -1,5 +1,21 @@
|
||||||
## Installing PostgreSQL Database Server on Linux (Ubuntu) ##
|
## Installing PostgreSQL Database Server on Linux (Ubuntu) ##
|
||||||
Execute the *install_postgresql_linux.sh* script to install PostgreSQL database
|
|
||||||
|
In the terminal, add the key to the keyring
|
||||||
|
|
||||||
|
`
|
||||||
|
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
|
||||||
|
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
|
||||||
|
`
|
||||||
|
|
||||||
|
Update your repositories with
|
||||||
|
|
||||||
|
`sudo apt-get update`
|
||||||
|
|
||||||
|
Install postgresql
|
||||||
|
|
||||||
|
`
|
||||||
|
sudo apt-get install postgresql
|
||||||
|
`
|
||||||
*NB: PostgreSQL DB Server runs on a default port of 5432.*
|
*NB: PostgreSQL DB Server runs on a default port of 5432.*
|
||||||
|
|
||||||
## Installing PostgreSQL Database Server on Windows ##
|
## Installing PostgreSQL Database Server on Windows ##
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
|
|
||||||
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install postgresql
|
|
Loading…
Reference in New Issue
Block a user