Nacos快速部署

//https://github.com/alibaba/nacos/releases
# wget https://github.com/alibaba/nacos/releases/download/1.3.2/nacos-server-1.3.2.tar.gz
# tar -zxf nacos-server-1.3.2.tar.gz -C /usr/local/
# cd /usr/local/nacos
# vim conf/application.properties
# sh bin/startup.sh -m standalone

MySQL初始化脚本:nacos-mysql.sql

#*************** Spring Boot Related Configurations ***************#
### Default web context path:
server.servlet.contextPath=/
### Default web server port:
server.port=8848

#*************** Config Module Related Configurations ***************#
### If use MySQL as datasource:
spring.datasource.platform=mysql
### Count of DB:
db.num=1

### Connect URL of DB:
db.url.0=jdbc:mysql://127.0.0.1:3306/nacos?characterEncoding=utf8&connectTimeout=1000&socketTimeout=3000&autoReconnect=true&useUnicode=true&useSSL=false&serverTimezone=UTC
db.user=nacos
db.password=xxxxxx

版权声明:
作者:Joe.Ye
链接:https://www.appblog.cn/index.php/2023/03/25/rapid-deployment-of-nacos/
来源:APP全栈技术分享
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
打赏
海报
Nacos快速部署
//https://github.com/alibaba/nacos/releases # wget https://github.com/alibaba/nacos/releases/download/1.3.2/nacos-server-1.3.2.tar.gz # tar -zxf nac……
<<上一篇
下一篇>>
文章目录
关闭
目 录