Deploys FreeBSD on a Hetzner cloud server
- A Hetzner Cloud API Token (Pass in via APIKEY)
- jq
- sshpass
Replace server_id variable with your hetzner server Id
| deb http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse | |
| deb-src http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse | |
| deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse | |
| deb-src http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse | |
| deb http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse | |
| deb-src http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse | |
| deb http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse |
| # Set your domain here | |
| MXDOMAIN=m.example.com | |
| # This script will ask you for a password. This is for your CA key and you need it in the next step, when signing your application certificate with your CA key. You can remove the "-aes256" flag in the first line to create a passwordless key, but it is not advised in production. | |
| # Let this script run, and move the generated *.tls.* files into your synapse home directory and restart synapse. | |
| # For android to recognize this, you need to copy the "ca.crt.pem" file to your phone and go to: "Settings->Security->import from SD card" and select the pem-file. | |
| # This certificate has a "CA-Flag" set to true, otherwise android would not import this file correctly. | |
| openssl genrsa -aes256 -out ca.key.pem 4096 |
| #!/bin/bash | |
| #LICENSE | |
| #To the extent possible under law, the author(s) have dedicated all | |
| #copyright and related and neighboring rights to this software to the | |
| #public domain worldwide. This software is distributed without any warranty. | |
| #See <http://creativecommons.org/publicdomain/zero/1.0/>. | |
| # ffcapture, a hacky script to stream/capture your desktop or a window | |
| # REQUIRES ffmpeg, xwininfo and bc to be installed! |