1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

nacos 部署到服务器;修改后端配置文件

This commit is contained in:
2023-03-17 23:26:25 +08:00
parent b7bf3bfc15
commit 079098db63
5 changed files with 19 additions and 7 deletions

View File

@@ -1,4 +1,16 @@
# 启动 Nacos
# 启动远程 Nacos
> /www/wwwserv/epp/nacos/conf/application.properties port 改为 8488
cd /www/wwwserv/epp/nacos/bin
bash startup.sh -m standalone
bash shutdown.sh
http://106.75.217.14:8488/nacos/index.html
nacos
socan
# 启动本地 Nacos
E:
cd E:\nacos\bin
startup.cmd -m standalone

View File

@@ -2,4 +2,4 @@ spring:
cloud:
nacos:
discovery:
server-addr: 192.168.2.29:8848
server-addr: 106.75.217.14:8488

View File

@@ -1,9 +1,9 @@
spring:
datasource:
url: jdbc:mysql://192.168.2.29:3306/epp?useUnicode=true&characterEncoding=utf8&useSSL=false
url: jdbc:mysql://127.0.0.1:3306/epp?useUnicode=true&characterEncoding=utf8&useSSL=false
username: root
password: 123456
cloud:
nacos:
discovery:
server-addr: 192.168.2.29:8848
server-addr: 106.75.217.14:8488

View File

@@ -2,4 +2,4 @@ spring:
cloud:
nacos:
discovery:
server-addr: 192.168.2.29:8848
server-addr: 106.75.217.14:8488

View File

@@ -1,9 +1,9 @@
spring:
datasource:
url: jdbc:mysql://192.168.2.29:3306/epp?useUnicode=true&characterEncoding=utf8&useSSL=false
url: jdbc:mysql://127.0.0.1:3306/epp?useUnicode=true&characterEncoding=utf8&useSSL=false
username: root
password: 123456
cloud:
nacos:
discovery:
server-addr: 192.168.2.29:8848
server-addr: 106.75.217.14:8488