91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

國產微服務網關Apache APISIX安裝

發布時間:2020-02-25 11:44:28 來源:網絡 閱讀:613 作者:鼻涕蟲YP 欄目:系統運維

一、需求環境

1.openresty 版本大于 1.15.8.1
2.etcd  -- yum安裝即可
3.luarocks  --源碼安裝
4.nodejs 版本大于10
5.Apache APISIX 版本1.0
提前添加環境以后直接使用
vim ~/.bash_profile
NODE_HOME=/app/sinova/node-v12.15.0-linux-x64
NODE_PATH=/app/sinova/node-v12.15.0-linux-x64/lib/node_modules
PATH=/app/sinova/openresty/bin:$NODE_HOME/bin:/app/sinova/openresty/luajit/bin:$PATH:$HOME/.local/bin:$HOME/bin

export PATH NODE_PATH

二、安裝openresty

wget https://openresty.org/download/openresty-1.15.8.2.tar.gz
tar -zxvf openresty-1.15.8.2.tar.gz
cd openresty-1.15.8.2
./configure --prefix=/app/sinova/openresty \
--with-http_stub_status_module
--with-http_ssl_module
--with-http_realip_module
--with-http_v2_module
make && make install

三、安裝luarocks--安裝到openresty目錄下

wget  http://luarocks.github.io/luarocks/releases/luarocks-3.3.1.tar.gz
tar -zxvf  luarocks-3.3.1
cd  luarocks-3.3.1
./configure --prefix=/app/sinova/openresty/luajit/ \
--with-lua=/app/sinova/openresty/luajit/
--lua-suffix=jit
--with-lua-include=/app/sinova/openresty/luajit/include/luajit-2.1
make build && make install

### 安裝etcd
yum  install etcd
sudo systemctl start etcd  --啟動

四、安裝APISIX

wget http://www.apache.org/dist/incubator/apisix/1.0/apache-apisix-1.0-incubating-src.tar.gz
tar -zxvf apache-apisix-1.0-incubating-src.tar.gz
yum install git
cd apache-apisix-1.0-incubating
make deps
make init
make run  --啟動

-----
$ make help
Makefile rules:

    help:          Show Makefile rules.
    deps:          Installation dependencies
    utils:         Installation tools
    lint:          Lint Lua source code
    init:          Initialize the runtime environment
    run:           Start the apisix server
    stop:          Stop the apisix server
    clean:         Remove generated files
    reload:        Reload the apisix server
    install:       Install the apisix
    test:          Run the test case
    license-check: Check lua souce code for Apache License

五、安裝(Dashboard)

git clone https://github.com/apache/incubator-apisix-dashboard.git
cd incubator-apisix-dashb
npm install yarn
yarn && yarn build:prod

cp -r incubator-apisix-dashb/dist/* apache-apisix-1.0-incubating-src
## Integration with APISIX Copy the compiled files under /dist directory to the apisix/dashboard directory, open http://127.0.0.1:9080/apisix/dashboard/ in the browser. Do not need to fill the user name and password, log in directly.

http://127.0.0.1:9080/apisix/dashboard/   --瀏覽器訪問

The dashboard allows any remote IP by default, and you can modify allow_admin in conf/config.yaml by yourself, to list the list of IPs allowed to access
向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

威远县| 金华市| 盐城市| 岑巩县| 尼玛县| 峨山| 神木县| 延安市| 南和县| 台北县| 隆安县| 孝昌县| 伊宁县| 浪卡子县| 高要市| 灵丘县| 丰顺县| 富锦市| 玉溪市| 大洼县| 宜阳县| 镇雄县| 松桃| 土默特左旗| 乌拉特前旗| 洞口县| 丁青县| 荃湾区| 扎兰屯市| 姜堰市| 灵璧县| 中牟县| 广饶县| 黄浦区| 广灵县| 道真| 施甸县| 绥滨县| 鹤庆县| 甘洛县| 五大连池市|