Files
firezone/scripts/provision/amazonlinux_2.sh
2021-07-26 09:53:36 -07:00

21 lines
381 B
Bash
Executable File

#!/bin/bash
set -xe
# Install prerequisites
yum install -y \
openssl \
net-tools \
postgresql-server \
systemd \
iptables
postgresql-setup initdb
systemctl restart postgresql
# Install WireGuard
yum install -y epel-release elrepo-release
yum install -y yum-plugin-elrepo
yum install -y kmod-wireguard wireguard-tools
rpm -ivh /tmp/firezone*.rpm
service firezone start