ubuntu安装nacos

1. 在ubuntu环境下载nacos:git clone https://github.com/alibaba/nacos.git

2. 进入目录:cd nacos/

3. 编译代码:mvn -Prelease-nacos clean install -U(也可以直接下载官网上编译好的代码)

4. 进入对应路径cd distribution/target/nacos-server-1.1.3/nacos/bin

5. 启动:bash startup.sh -m standalone(没成功启动,也要执行一次shutdow命令)

6. 关闭服务器:sh shutdown.sh

7. 控制台地址:http://${ip}:8848/nacos/index.html,用户名密码默认为:nacos/nacos

 

 

参考文档:https://nacos.io/zh-cn/docs/quick-start.html

posted @ 2019-10-14 16:11  到三国卖栗子  阅读(1601)  评论(0编辑  收藏  举报