From d5d1687964055696a03a3aac2b032f637fef567a Mon Sep 17 00:00:00 2001 From: Kaimbacher Date: Thu, 30 Jun 2022 13:03:54 +0000 Subject: [PATCH] Update 'Install_PostgreSQL_14_and_PostGIS_3' --- Install_PostgreSQL_14_and_PostGIS_3.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Install_PostgreSQL_14_and_PostGIS_3.md diff --git a/Install_PostgreSQL_14_and_PostGIS_3.md b/Install_PostgreSQL_14_and_PostGIS_3.md new file mode 100644 index 0000000..d847c2d --- /dev/null +++ b/Install_PostgreSQL_14_and_PostGIS_3.md @@ -0,0 +1,15 @@ +# Step 1: Install PostgreSQL 14 on Ubuntu 22.04 +``` +echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" |sudo tee /etc/apt/sources.list.d/pgdg.list \ +response: +deb http://apt.postgresql.org/pub/repos/apt/ jammy-pgdg main +``` + +``` +sudo apt update +sudo apt install postgresql postgresql-contrib +sudo apt install postgresql-14-postgis-3 postgresql-14-postgis-3-scripts +``` + +# Step 2: Create Database +