成人午夜视频全免费观看高清-秋霞福利视频一区二区三区-国产精品久久久久电影小说-亚洲不卡区三一区三区一区

國產(chǎn)微服務網(wǎng)關(guān)ApacheAPISIX安裝

一、需求環(huán)境

1.openresty 版本大于 1.15.8.1
2.etcd  -- yum安裝即可
3.luarocks  --源碼安裝
4.nodejs 版本大于10
5.Apache APISIX 版本1.0
提前添加環(huán)境以后直接使用
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

分享名稱:國產(chǎn)微服務網(wǎng)關(guān)ApacheAPISIX安裝
文章來源:http://jinyejixie.com/article20/posdco.html

成都網(wǎng)站建設公司_創(chuàng)新互聯(lián),為您提供面包屑導航做網(wǎng)站、網(wǎng)站排名、網(wǎng)站改版網(wǎng)站建設、Google

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)

手機網(wǎng)站建設
萍乡市| 尖扎县| 临汾市| 弥勒县| 兴隆县| 濉溪县| 邹平县| 修水县| 旬邑县| 泗水县| 洮南市| 江达县| 商丘市| 乐安县| 绥化市| 白山市| 青河县| 平舆县| 新民市| 石门县| 方山县| 汶川县| 兰州市| 阳信县| 曲水县| 肃宁县| 长岛县| 澄城县| 宝坻区| 丰城市| 麻江县| 张家川| 建平县| 游戏| 万荣县| 通河县| 繁昌县| 南安市| 昌邑市| 双城市| 红原县|