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