Flynn Open source PAAs platform installation trial

Source: Internet
Author: User

Tags: check style emctl network effect dependent status manual line

Flynn-host Bootstrapflynn is a good open source PAAs platform, based on Git and container technology, developing models and
Heroku is basically the same, and the way to build it is based on Heroku buildpacks

Installation

Official documentation tips are Ubuntu OS 16 and 14, so install it on Ubuntu

    • Shell
sudo bash < <(curl -fsSL https://dl.flynn.io/install-flynn)
    • Effect

      More long, waiting

    • Installed components
Install Flynn’s runtime dependenciesDownload, verify and install the flynn-host binaryDownload and verify filesystem images for each of the Flynn componentsInstall an Upstart job for controlling the flynn-host daemon
Initializing a cluster

Test using a single machine

    • Initialization
sudo flynn-host init --init-discovery

    • Start
sudo systemctl start flynn-hostsudo systemctl status flynn-host

    • Bootstrap system
export CLUSTER_DOMAIN=demo.localflynn.comflynn-host bootstrap  --discovery https://discovery.flynn.io/clusters/410a77eb-63c6-495c-86df-c12aeef9e7f4

Note:
The cluster DNS cluster_domain=demo.localflynn.com needs to be configured first


    • Check

Since the use of flannel ensures that there are flanel and FLUNNBR0 network interfaces, as follows:

Use (Official demo)
    • Add a cluster

      Refer to your actual address specifically

flynn cluster add -p wshSAUMXH/TWU0WmmivA1IWlo+wLFtxY9IBArpwopW0= default demo.localflynn.com d0e2cd73215044088745f68da8a6c165备注:可能需要添加本地hostnodeip demo.localflynn.comnodeip  controller.demo.localflynn.comnodeip git.demo.localflynn.com
    • Clone code
git clone https://github.com/flynn-examples/go-flynn-example
    • Create an App
cd go-flynn-exampleflynn create example

    • Git remote
git remote -v

    • Apps

    • Route

    • Add PG Dependency
flynn resource add postgres

    • View environment variables
flynn env
    • git push (git push triggers build and deployment)
git push flynn master


    • Access
curl -i example.demo.localflynn.com

Description

Flynn deployment and use is relatively simple, and heroku very similar, basically is the open source version of the Heroku

Dashboard interface
    • Interface

    • Login Token
      Flynn-a Dashboard env Get Login_token
Resources

Https://flynn.io/docs/installation/manual
Https://github.com/flynn/flynn
Https://flynn.io/docs/basics

<wiz_tmp_tag id= "Wiz-table-range-border" contenteditable= "false" style= "Display:none;" >

Flynn Open source PAAs platform installation trial

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

Tags Index: