This repository has been archived on 2021-12-05. You can view files and clone it, but cannot push or open issues or pull requests.
envoy/server/install-debian-dev.sh

10 lines
248 B
Bash
Raw Permalink Normal View History

#!/bin/sh
# Install postgresql
sudo apt update
sudo apt install -y postgresql
# Create envoy user and database
sudo -u postgres psql -c "CREATE USER envoy WITH PASSWORD 'envoy';"
sudo -u postgres psql -c "CREATE DATABASE envoy WITH OWNER envoy;"