mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
21 lines
381 B
Bash
Executable File
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
|