最美情侣中文字幕电影,在线麻豆精品传媒,在线网站高清黄,久久黄色视频

歡迎光臨散文網(wǎng) 會(huì)員登陸 & 注冊

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

2022-02-09 10:15 作者:Vecloud_  | 我要投稿

一、需求環(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? --啟動(dòng)


四、安裝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? --啟動(dòng)


-----

$ 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

了解更多相關(guān)內(nèi)容歡迎關(guān)注http://www.vecloud.com/

國產(chǎn)微服務(wù)網(wǎng)關(guān)Apache APISIX安裝的評論 (共 條)

分享到微博請遵守國家法律
沁水县| 鄂伦春自治旗| 普洱| 昌宁县| 普格县| 马关县| 台中市| 铁岭市| 四川省| 和政县| 新蔡县| 元氏县| 镇康县| 溧阳市| 屯留县| 翁源县| 绥宁县| 奈曼旗| 新兴县| 罗江县| 桐城市| 舞阳县| 石阡县| 建宁县| 平昌县| 达孜县| 阿坝县| 聂荣县| 广汉市| 德阳市| 三原县| 菏泽市| 来安县| 福海县| 浠水县| 凤山市| 惠水县| 曲周县| 冕宁县| 蒲江县| 尉犁县|