搭建nacos集群

1.修改nacos/conf/application.properties

2.在数据库中执行nacos/conf/nacos-mysql.sql脚本

3.修改nacos/conf/cluster.conf文件

4.修改startup.sh文件模式为集群

5.启动服务

附:安装nginx

修改/usr/local/openresty/nginx/conf/nginx.confi文件

http{}中增加如下配置:

启动nginx

修改server-addr为nginx地址:

相关推荐

  1. nacos

    2024-05-14 04:28:10       29 阅读
  2. CentosNacos

    2024-05-14 04:28:10       24 阅读
  3. Docker Nacos 教程

    2024-05-14 04:28:10       22 阅读

最近更新

  1. TCP协议是安全的吗?

    2024-05-14 04:28:10       16 阅读
  2. 阿里云服务器执行yum,一直下载docker-ce-stable失败

    2024-05-14 04:28:10       16 阅读
  3. 【Python教程】压缩PDF文件大小

    2024-05-14 04:28:10       15 阅读
  4. 通过文章id递归查询所有评论(xml)

    2024-05-14 04:28:10       18 阅读

热门阅读

  1. c++ 读写锁简单试验

    2024-05-14 04:28:10       11 阅读
  2. 数学符号大全

    2024-05-14 04:28:10       14 阅读
  3. 几种ssh自动登录服务器的方法

    2024-05-14 04:28:10       9 阅读
  4. Linux系统日志每日备份脚本

    2024-05-14 04:28:10       9 阅读
  5. getter和setter方法的优缺点

    2024-05-14 04:28:10       12 阅读
  6. leetcode 918.环形子数组的最大和

    2024-05-14 04:28:10       10 阅读
  7. JanusGraph Tinkerpop

    2024-05-14 04:28:10       9 阅读
  8. 船舶检测数据集VOC+YOLO格式7000张6类别

    2024-05-14 04:28:10       11 阅读
  9. 【GoLang基础】panic和recover有什么作用?

    2024-05-14 04:28:10       10 阅读