<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                [TOC] ## 安裝 一般系統都帶有 `apt-get install gettext-base` ## 格式 `envsubst < 模版文件 > 輸出文件` eg: `envsubst < test.txt > bak.txt` ## 使用 ### 簡單demo ``` > export TEST="a string to test envsubst" > cat test.txt $TEST > envsubst < test.txt > bak.txt > cat bak.txt a string to test envsubst ``` ### 循環中使用 redis-cluster.tmpl ``` port ${PORT} protected-mode no cluster-enabled yes cluster-config-file nodes.conf cluster-node-timeout 5000 cluster-announce-ip 39.10X.XX.XX //自己服務器IP cluster-announce-port ${PORT} cluster-announce-bus-port 1${PORT} appendonly yes ``` 直接執行 ``` $ for port in `seq 7000 7005`; do \ mkdir -p ./${port}/conf \ && PORT=${port} envsubst < ./redis-cluster.tmpl > ./${port}/conf/redis.conf \ && mkdir -p ./${port}/data; \ done ``` 輸出 ``` ├── 7000 │?? ├── conf │?? │?? └── redis.conf │?? └── data ├── 7001 │?? ├── conf │?? │?? └── redis.conf │?? └── data ├── 7002 │?? ├── conf │?? │?? └── redis.conf │?? └── data ├── 7003 │?? ├── conf │?? │?? └── redis.conf │?? └── data ├── 7004 │?? ├── conf │?? │?? └── redis.conf │?? └── data ├── 7005 │?? ├── conf │?? │?? └── redis.conf │?? └── data └── redis-cluster.tmpl ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看