$ sudo bash -c "$(curl -s https://gist.githubusercontent.com/zulhfreelancer/0b87a274686cb4d98b8144e116c5117c/raw)"
-
-
Save silentworks/29c7cf7335338a5f5e929e3407169744 to your computer and use it in GitHub Desktop.
How to install Flynn on single host (single-node mode)?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Enter your cluster domain name (example: flynn.your-domain.com):" | |
read cluster_domain | |
if [ -z "$cluster_domain" ]; then | |
echo "Please try again and supply cluster domain" | |
exit 0 | |
fi | |
# install flynn | |
curl -fsSL -o /tmp/install-flynn https://dl.flynn.io/install-flynn && sudo bash /tmp/install-flynn --clean --yes | |
# start flynn daemon & run it when server get rebooted | |
sudo systemctl start flynn-host && sudo systemctl enable flynn-host | |
# bootstrap the cluster | |
sudo CLUSTER_DOMAIN=$cluster_domain flynn-host bootstrap |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment