Updated the repo and add postgres setup
This commit is contained in:
13
postgres-setup.sh
Normal file
13
postgres-setup.sh
Normal 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
|
||||
Reference in New Issue
Block a user