乡下人产国偷v产偷v自拍,国产午夜片在线观看,婷婷成人亚洲综合国产麻豆,久久综合给合久久狠狠狠9

  • <output id="e9wm2"></output>
    <s id="e9wm2"><nobr id="e9wm2"><ins id="e9wm2"></ins></nobr></s>

    • 分享

      安裝單機版Consul

       小世界的野孩子 2020-02-28
      TIPS

      本文基于Consul 1.5.3,理論適用于Consul 1.6及更低版本。

      下載Consul

      • 下載最新穩(wěn)定版:https://www./downloa...

      • 下載指定版本:https://releases....

      百度盤加速器(Consul 1.5.3)

      鏈接: https://pan.baidu.com/s/1Kyw5_duxW2TvEqb17YV9WQ 
       復制這段內容后打開百度網盤手機App,操作更方便哦

      需要的端口

      UseDefault Ports
      DNS: The DNS server (TCP and UDP)8600
      HTTP: The HTTP API (TCP Only)8500
      HTTPS: The HTTPs APIdisabled (8501)*
      gRPC: The gRPC APIdisabled (8502)*
      LAN Serf: The Serf LAN port (TCP and UDP)8301
      Wan Serf: The Serf WAN port TCP and UDP)8302
      server: Server RPC address (TCP Only)8300
      Sidecar Proxy Min: Inclusive min port number to use for automatically assigned sidecar service registrations.21000
      Sidecar Proxy Max: Inclusive max port number to use for automatically assigned sidecar service registrations.21255

      檢查端口是否被占用的方法:

      Windows:
      # 如果沒有結果說明沒有被占用
      netstat -ano| findstr "8500"
      
      Linux:
      # 如果沒有結果說明沒有被占用
      netstat -antp |grep 8500
      
      macOS:
      # 如果沒有結果說明沒有被占用
      netstat -ant | grep 8500
      或
      lsof -i:8500

      安裝 & 啟動

      • 解壓下載下來的壓縮包,將目錄切換到 consul 所在目錄

      • 執(zhí)行如下命令即可:

        ./consul agent -dev -ui -client 0.0.0.0
      • 驗證是否成功

        ./consul -v
      • 訪問Consul首頁 localhost:8500 ,可正常訪問頁面。

      啟動參數

      TIPS

      目前暫時可以不關注,在后面Consul高可用一節(jié),會列出所有常用的Consul啟動參數。

      • -ui: 開啟ui頁面

      • -client: 讓consul server擁有client的功能,允許接受服務注冊;0.0.0.0表示允許使用任意IP連接Consul,如果不指定,那么只能用loalhost去連接。

      • -dev: 表示以開發(fā)模式運行Consul

      在線Consul

      • Consul官方提供:https://demo.

      • itmuch提供:http://consul.:8500

      參考文檔

      • Install Consul

      本文首發(fā)

      http://www./spring-...

        本站是提供個人知識管理的網絡存儲空間,所有內容均由用戶發(fā)布,不代表本站觀點。請注意甄別內容中的聯系方式、誘導購買等信息,謹防詐騙。如發(fā)現有害或侵權內容,請點擊一鍵舉報。
        轉藏 分享 獻花(0

        0條評論

        發(fā)表

        請遵守用戶 評論公約

        類似文章 更多