07.nacos安装
# 01.mac安装nacos
# 1.1 下载zip包
- https://github.com/alibaba/nacos/releases
xiaonaiqiang1@ZBMac-C02CW08SM soft % cd /Users/xiaonaiqiang1/soft
xiaonaiqiang1@ZBMac-C02CW08SM soft % unzip nacos-server-2.0.3.zip
xiaonaiqiang1@ZBMac-C02CW08SM soft % cd nacos/bin
xiaonaiqiang1@ZBMac-C02CW08SM bin % sh startup.sh -m standalone
# 输出nacos is starting with standalone 即为成功
1
2
3
4
5
2
3
4
5
- 访问:http://127.0.0.1:8848/nacos/#/login (账号密码都是nacos)
# 1.2 管理命令
# 1)启动
cd /Users/xiaonaiqiang1/soft/nacos/bin
sh startup.sh -m standalone
# 2)关闭
lsof-i:8848
kill -9 进程号
# 3)查看日志
tail /Users/xiaonaiqiang1/soft/nacos/logs/start.out
1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10
上次更新: 2024/3/13 15:35:10