Skip to content

Instantly share code, notes, and snippets.

Last active January 28, 2021 22:33
  • Star 5 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save zulhfreelancer/0b87a274686cb4d98b8144e116c5117c to your computer and use it in GitHub Desktop.
How to install Flynn on single host (single-node mode)?

$ sudo bash -c "$(curl -s"

echo "Enter your cluster domain name (example:"
read cluster_domain
if [ -z "$cluster_domain" ]; then
echo "Please try again and supply cluster domain"
exit 0
# install flynn
curl -fsSL -o /tmp/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