#!/bin/bash
echo "安装nacos,按任意键继续"
read -n1

cd /data/software
curl -O http://down.yadeaiot.net:8000/nacos-server-2.0.2.tar.gz
tar -zxvf nacos-server-2.0.2.tar.gz

mv nacos /usr/local/

# 启动
cd /usr/local/nacos/bin/
#(-m standalone 指定启动模式为单机版)
sh startup.sh -m standalone
netstat -anp|grep 8848
