sh.osa.cubetiqs.com/postgres-setup.sh

13 lines
217 B
Bash
Raw Normal View History

#!/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
2021-04-03 14:02:31 +07:00
sudo apt install postgresql postgresql-contrib -y