sh Flynn安装:单节点(适用于Ubuntu 14.04 x64 @ DigitalOcean droplet)
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh Flynn安装:单节点(适用于Ubuntu 14.04 x64 @ DigitalOcean droplet)相关的知识,希望对你有一定的参考价值。
#!/bin/bash
# This script will automatically set up a single node Flynn Cluster on your linux box
# Fresh Flynn install with domain provided by the xip.io service
# Tested with Base Image: Ubuntu 14.04 x64 @ DigitalOcean droplet
# @date 16 Nov 2015
# @author Edu Wass (eduwass at gmail com)
echo '---- START SETUP ----'
echo '======================================'
echo '1. Install Flynn:'
echo '======================================'
sudo apt-get install git
L=/usr/local/bin/flynn && curl -sSL -A "`uname -sp`" https://dl.flynn.io/cli | zcat >$L && chmod +x $L
sudo bash < <(curl -fsSL https://dl.flynn.io/install-flynn)
/sbin/modprobe zfs
echo '======================================'
echo '2. Init discovery service:'
echo '======================================'
DISCOVERY="$(sudo flynn-host init --init-discovery)"
echo $DISCOVERY
echo '======================================'
echo '3. Start the host:'
echo '======================================'
sudo start flynn-host
echo '======================================'
echo '4. Boostrap the setup'
echo '======================================'
# Auto-magically get the droplet's IP address:
IPADDR="$(curl -fsSL http://ipecho.net/plain)"
# Bootstrap
sudo \
CLUSTER_DOMAIN=${IPADDR}.xip.io \
flynn-host bootstrap \
--discovery ${DISCOVERY}
# /end
echo '---- FINISHED ----'
echo '*(Make a copy the output info - local client setup & dashboard login)*'
以上是关于sh Flynn安装:单节点(适用于Ubuntu 14.04 x64 @ DigitalOcean droplet)的主要内容,如果未能解决你的问题,请参考以下文章
sh Ubuntu上的Haproxy 1.6节点服务器平衡器,适用于aws
sh 适用于Linux Debian / Ubuntu的Drupal安装脚本
sh Unifi Controller一键式安装脚本,适用于Ubuntu 16.04,带有Lets Encrypt
flynn 开源paas 平台安装试用
sh 适用于Ubuntu的Misc字体
ubuntu k8s 单节点快速安装