13 lines
214 B
Bash
13 lines
214 B
Bash
|
#!/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
|