国产微服务网关Apache APISIX安装
发表于:2025-02-23 作者:千家信息网编辑
千家信息网最后更新 2025年02月23日,一、需求环境1.openresty 版本大于 1.15.8.12.etcd -- yum安装即可3.luarocks --源码安装4.nodejs 版本大于105.Apache APISIX 版本
千家信息网最后更新 2025年02月23日国产微服务网关Apache APISIX安装
一、需求环境
1.openresty 版本大于 1.15.8.12.etcd -- yum安装即可3.luarocks --源码安装4.nodejs 版本大于105.Apache APISIX 版本1.0
提前添加环境以后直接使用
vim ~/.bash_profileNODE_HOME=/app/sinova/node-v12.15.0-linux-x64NODE_PATH=/app/sinova/node-v12.15.0-linux-x64/lib/node_modulesPATH=/app/sinova/openresty/bin:$NODE_HOME/bin:/app/sinova/openresty/luajit/bin:$PATH:$HOME/.local/bin:$HOME/binexport PATH NODE_PATH
二、安装openresty
wget https://openresty.org/download/openresty-1.15.8.2.tar.gztar -zxvf openresty-1.15.8.2.tar.gzcd 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_modulemake && make install
三、安装luarocks--安装到openresty目录下
wget http://luarocks.github.io/luarocks/releases/luarocks-3.3.1.tar.gztar -zxvf luarocks-3.3.1cd 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.1make build && make install### 安装etcdyum install etcdsudo systemctl start etcd --启动
四、安装APISIX
wget http://www.apache.org/dist/incubator/apisix/1.0/apache-apisix-1.0-incubating-src.tar.gztar -zxvf apache-apisix-1.0-incubating-src.tar.gzyum install gitcd apache-apisix-1.0-incubatingmake depsmake initmake run --启动-----$ make helpMakefile 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.gitcd incubator-apisix-dashbnpm install yarnyarn && yarn build:prodcp -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
版本
环境
浏览器
源码
目录
需求
浏览
国产
网关
服务
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
杭州微客多网络技术
江都app软件开发公司
魔兽9区服务器
染色质相互作用数据库
高并发数据库数据安全
宝山区微型软件开发工艺
广州软件学院网络技术系
数据库管理员级别
IBM服务器 装系统
谈谈你对网络安全的初步认识
软件开发能干到多大
台山肆浩网络技术有限公司
数据库读写冲突解决办法
网络安全法窃取个人信息
疫情后的中国的网络安全形势
丰田gps服务器连接不上
河源卫星软件开发厂家直销
网络安全对银行发展的重要性
QQ营销软件开发代理
服务器虚拟化需要检查什么
中关村在线 服务器
写一个服务器
网络安全隐患的起因
有品服务器
软件开发与测试集成平台
我的世界服务器id1.8
登录域提示服务器上的安全数据库
顺义区正规软件开发指导
网络安全与保护讲座心得
软件开发项目规模指的是什么