https://nacos.io/zh-cn/docs/2.0.0-upgrading.html
安装 关闭开启服务器启动Nacos2.0
使用nacos目录下 nacos/bin/startup.sh 启动nacos2.0,
sh shutdown.sh
1. 启动之后IP访问http://192.168.10.100:8848/nacos/#/login
.关闭双写curl -X PUT 'localhost:8848/nacos/v1/ns/operator/switches?entry=doubleWriteEnabled&value=false'
关闭后可以从logs/naming-server.log日志中观察到Disable Double write, stop and clean v1.x cache and features字样。说明关闭双写。
注意,关闭双写后无法在进行平滑降级,请先确认关闭前集群正确运行。
替换文件、下载并解压缩nacos-server-2.0.2.tar.gz,将其下的bin,conf,target目录覆盖原Nacos1.X的安装目录下。
修改配置行修改nacos/bin/startup.sh中的JVM参数,
在这里插入图片描述
conf/application.prpperties中数据库或其他相关参数
conf/cluster.conf中的集群列表。
总结错误- org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat
命令:wget https://download.oracle.com/otn/java/jdk/8u231-b12/478a62b7d4e34b78b671c754eaaf38ab/jdk-8u231-linux-x64.tar.gz



