From 94d82d1372509bb267b28e4cb87bfdcc971b6541 Mon Sep 17 00:00:00 2001 From: Sambo Chea Date: Sat, 3 Apr 2021 11:13:24 +0700 Subject: [PATCH] Updated the repo and add postgres setup --- postgres-setup.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 postgres-setup.sh diff --git a/postgres-setup.sh b/postgres-setup.sh new file mode 100644 index 0000000..38161f0 --- /dev/null +++ b/postgres-setup.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +# Catch errors +set -e + +# Update the repository +sudo apt-get update + +# Upgrade repository software +sudo apt upgrade -y + +# Install postgres and common utils +sudo apt install postgresql postgresql-contrib \ No newline at end of file