10 lines
248 B
Bash
Executable File
10 lines
248 B
Bash
Executable File
#!/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;"
|