(dev mode) install CONSUL on ubuntu

WSL: V18.04.1

1. install

$sudo apt-get install consul
wsl1017@DESKTOP-14G6K9S:~$ consul version
Consul 0.6.4.dev
Consul Protocol: 3 (Understands back to: 1)

2. run

$consul agent -dev -bind 192.168.1.114
wsl1017@DESKTOP-14G6K9S:~$ consul agent -dev -bind 192.168.1.114
==> Starting Consul agent...
==> Starting Consul agent RPC...
==> Consul agent running!
         Node name: ‘DESKTOP-14G6K9S‘
        Datacenter: ‘dc1‘
            Server: true (bootstrap: false)
       Client Addr: 127.0.0.1 (HTTP: 8500, HTTPS: -1, DNS: 8600, RPC: 8400)
      Cluster Addr: 192.168.1.114 (LAN: 8301, WAN: 8302)
    Gossip encrypt: false, RPC-TLS: false, TLS-Incoming: false
             Atlas: <disabled>

http://localhost:8500/ui

3. update

1) down

$wget https://releases.hashicorp.com/consul/1.4.1/consul_1.4.1_linux_amd64.zip

2) unzip

$unzip consul_1.4.1_linux_amd64.zip

3) move

$sudo mv consul /usr/local/bin
wsl1103@DESKTOP-14G6K9S:~$ consul version
Consul v1.4.1
Protocol 2 spoken by default, understands 2 to 3 (agent will automatically use protocol >2 when speaking to compatible agents)

Reference:

1. 《Ubuntu安装consul和consul ui

2. 《[Consul]Error starting agent: Failed to get advertise address: Multiple private IPs found.

原文地址:https://www.cnblogs.com/xiaobin-hlj80/p/10404368.html

时间: 2024-11-06 09:42:31

(dev mode) install CONSUL on ubuntu的相关文章

(转) How to install eclipse in ubuntu 12.04

源地址:http://www.krizna.com/ubuntu/install-eclipse-in-ubuntu-12-04/ Eclipse installation in ubuntu 12.04 is very simple . you can install eclipse using “software center” but you may not get the latest version, better download the latest version and ins

Install golang on Ubuntu 14.04 LTS

1. Install golang on Ubuntu 14.04 LTS a)~$ sudo apt-get install golang                   success b)~$ sudo add-apt-repository ppa:gophers/go ~$ sudo apt-get update ~$ sudo apt-get install golang-stable         fail c) complie from source code        

Install ntopng on Ubuntu 14.04 Server

please check http://www.nmon.net/apt-stable/ 1. echo -e "deb http://www.nmon.net/apt-stable/14.04/ x64/\ndeb http://www.nmon.net/apt-stable/14.04/ all/" > /etc/apt/sources.list.d/ntop.list wget -qO - http://www.nmon.net/apt-stable/ntop.key |

install r on ubuntu

install r-base on ubuntu: sudo apt-get install -y r-base download rstudio: https://download1.rstudio.org/rstudio-1.0.153-amd64.deb install gui tool(rstudio) for r language: sudo dpkg -i rstudio-***-amd64.deb some examples for r language: *** # librar

CentOS7 Install Consul

Centos7 Install Consul 原文链接:http://www.cnblogs.com/caoguo/p/5959962.html 1) 环境 192.168.217.158 consul-1 192.168.217.159 consul-2 192.168.217.160 consul-3 192.168.217.161 agent-1 2) 安装 # yum install -y unzip # wget https://releases.hashicorp.com/consu

Install OpenCV-Python in Ubuntu

之前安装python版opencv,需要下载whl文件,进行安装 今天发现一个简单的方法. Install OpenCV-Python in Ubuntu Install package python-opencv with following command in terminal (as root user). $ sudo apt-get install python-opencv Open Python IDLE (or IPython) and type following codes

How to Install PhantomJS on Ubuntu 16.04

Introduction PhantomJS is a scripted, headless browser that can be used for automating web page interaction. PhantomJS is a free, open source and distributed under the BSD license. PhantomJS is based on WebKit and is very similar browsing environment

install postgresql in ubuntu

摘要:install postgresql in ubuntu 使用apt-get install postgresql-9.3无法安装 In Ubuntu official repositories only PostgreSQL 9.1 is available. n order to get PostgreSQL v9.2 in your VPS using apt you should follow the official PostgreSQL procedure for Ubuntu

How To Install Docker On Ubuntu 18.04

Docker is an increasingly popular software package that creates a container for application development. Developing in Docker speeds up applications, as it shares the kernel and other resources, instead of requiring dedicated resources. There are two