diff --git a/hub/DEPLOYMENT.md b/hub/DEPLOYMENT.md index 4bbc1788..cd62a903 100644 --- a/hub/DEPLOYMENT.md +++ b/hub/DEPLOYMENT.md @@ -1,5 +1,21 @@ ## 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.* ## Installing PostgreSQL Database Server on Windows ## diff --git a/hub/install_postgresql_linux.sh b/hub/install_postgresql_linux.sh deleted file mode 100755 index 70088df0..00000000 --- a/hub/install_postgresql_linux.sh +++ /dev/null @@ -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 \ No newline at end of file