SpringCloudAlibaba--服务配置--Nacos集群配置

  1. Nacos集群架构说明:
  2.  Nacos持久化配置切换:

  3.  Nacos搭建集群环境:

  4. Nacos集群配置:

    1.  更换数据库库:

  5. Nacos集群配置

    1.  

       

    1. nginx启动命令:
          ./nginx -c 配置文件(nginx.conf)
      nginx的停止命令;
           ./nginx -s stop
      nacos的启动命令:
        sh startup.sh -p 端口号
      nacos的停止命令:
        sh shutdown.sh
      mysql的启动命令:
        systemctl start mysql.service
  6. 将服务注册到Nacos集群中去:

    1.  

       

posted @ 2021-10-05 23:30  张紫韩  阅读(168)  评论(0)    收藏  举报