centos安装nacos

1.从网址下载nacos https://github.com/alibaba/nacos/releases/tag/2.0.0-bugfix
2.将下载好的的ncos拷贝进服务器目录 /home/soft
3.解压安装包 tar -xvf nacos-server-2.0.0.tar.gz
4.启动 

启动命令(standalone代表着单机模式运行,非集群模式):

sh startup.sh -m standalone

如果您使用的是ubuntu系统,或者运行脚本报错提示[[符号找不到,可尝试如下运行:

bash startup.sh -m standalone

Windows

启动命令(standalone代表着单机模式运行,非集群模式):

cmd startup.cmd -m standalone

5.关闭

5.关闭服务器

Linux/Unix/Mac

sh shutdown.sh

Windows

cmd shutdown.cmd

或者双击shutdown.cmd运行文件。

 

posted @ 2021-04-18 15:31  fyhsACr  阅读(341)  评论(0编辑  收藏  举报