当前位置: 首页 > news >正文

网站空间测试合肥seo优化公司

网站空间测试,合肥seo优化公司,上海网络公司网站,如何用自己电脑做网站页面Linux下apisix离线安装教程 一、首先需要安装etcd:二、通过rpm离线安装apisix三、启动apisix四、安装apisix-dashboard1、安装2、更改dashboard登录账号名和密码3、运行 一、首先需要安装etcd: 解压缩etcd后执行以下命令: tar -xvf etcd-v3.…

Linux下apisix离线安装教程

  • 一、首先需要安装etcd:
  • 二、通过rpm离线安装apisix
  • 三、启动apisix
  • 四、安装apisix-dashboard
    • 1、安装
    • 2、更改dashboard登录账号名和密码
    • 3、运行

一、首先需要安装etcd:

解压缩etcd后执行以下命令:
tar -xvf etcd-v3.5.4-linux-amd64.tar.gz && \
cd etcd-v3.5.4-linux-amd64 && \
sudo cp -a etcd etcdctl /usr/bin/
nohup etcd >/tmp/etcd.log 2>&1 &

二、通过rpm离线安装apisix

通过 RPM 包离线安装:
将 APISIX 离线 RPM 包下载到 apisix 文件夹:

sudo mkdir -p apisix
sudo yum install -y https://repos.apiseven.com/packages/centos/apache-apisix-repo-1.0-1.noarch.rpm
sudo yum clean all && yum makecache
sudo yum install -y --downloadonly --downloaddir=./apisix apisix

将apisix文件夹复制到目标主机到root文件夹下并运行以下命令:
Apisix文件夹下的内容。
image-20231204105602292.png
执行以下命令:
sudo yum install ./apisix/*.rpm
如果提示缺少包依赖,则执行:
rpm -Uvh ./apisix/*.rpm --nodeps --force

三、启动apisix

APISIX 安装完成后,你可以运行以下命令初始化 NGINX 配置文件和 etcd:
apisix init
使用以下命令启动 APISIX:
apisix start

四、安装apisix-dashboard

1、安装

sudo yum install -y apisix-dashboard-3.0.1-0.el7.x86_64.rpm

2、更改dashboard登录账号名和密码

在/usr/local/apisix/dashboard/conf/conf.yaml下

#1、修改监听地址
conf:listen:host: 0.0.0.0     # the address on which the `Manager API` should listen.# The default value is 0.0.0.0, if want to specify, please enable it.# This value accepts IPv4, IPv6, and hostname.port: 9000            # The port on which the `Manager API` should listen.#2、设置允许访问的地址段allow_list:             # If we don't set any IP list, then any IP access is allowed by default.- 0.0.0.0          # The rules are checked in sequence until the first match is found.- ::1#3、修改etcd连接信息etcd:endpoints:            - 10.2.20.77:2379 #Apisix与Apisix-dashboard要使用同一个etcd#4、修改dashboard登录账户及密码
authentication:secret:secret              # secret for jwt token generation.# NOTE: Highly recommended to modify this value to protect `manager api`.# if it's default value, when `manager api` start, it will generate a random string to replace it.expire_time: 3600     # jwt token expire time, in secondusers:                # yamllint enable rule:comments-indentation- username: adminaaa   # username and password for login `manager api`password: 123456
#    - username: user
#      password: user

3、运行

以下两种方式选一种,建议第二种
#run dashboard in the shell:
sudo manager-api -p /usr/local/apisix/dashboard/
#or run dashboard as a service:
systemctl start apisix-dashboard

http://www.khdw.cn/news/4818.html

相关文章:

  • 如何查看一个网站是否备案百度公司招聘官网最新招聘
  • 网站制作工作室免费建站网站一站式
  • wordpress 折叠seo优化工作有哪些
  • 免费建网站 建站之星长春seo技术
  • 模板免费下载官网杭州网站优化公司
  • 阿里云主机做网站江苏网站建设推广
  • 深圳手机网站制作公司网络seo推广
  • 建行手机网站软件外包
  • 广元网页制作公司新乡网站优化公司
  • 当今十大热门行业seo培训
  • 广州手机软件开发定制整站seo怎么做
  • 手机网站微信网站开发小网站
  • 广州招投标中心官网合肥百度推广优化
  • 网站开发意见书济南百度代理
  • 网站设计维护内容关键词优化最好的方法
  • 常州网站建设公司机构app网站
  • 做网站先学什么seo全称英文怎么说
  • 网络编程技术选择宁波seo优化公司
  • 绍兴市交通建设有限公司网站浏览器下载
  • 做h5页面的网站百度快照官网
  • discuz 做论坛与网站索引擎优化 seo
  • 网站建设常见问题处理百度工具seo
  • php除了做网站还能做什么怎么找精准客户资源
  • 微网站建设及微信推广方案seo最新教程
  • 昆明做网站需要多少钱百度一下官网网址
  • 破坏网站排名模拟搜索点击软件
  • 武汉公司注册网站企业网站seo诊断报告
  • 欧美 电台 网站模板4农产品营销方案
  • 广州荔湾网站建设东莞seo排名公司
  • 网站外链软件长沙哪家网络公司做网站好