Updated the repo and add postgres setup

This commit is contained in:
Sambo Chea 2021-04-03 11:13:24 +07:00
parent 27e77f8380
commit 94d82d1372

13
postgres-setup.sh Normal file
View File

@ -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