赞
踩
一、下载nacos
wget https://github.com/alibaba/nacos/releases/download/1.2.0/nacos-server-1.2.0.tar.gz
二、安装nacos
[root@mbshqqb local]# tar -xzvf /root/nacos-server-1.2.0.tar.gz
[root@mbshqqb local]# cd nacos/bin
三、启动Nacos Server
[root@mbshqqb bin]# sh startup.sh -m standalone
/usr/local/jdk-14/bin/java -Xms512m -Xmx512m -Xmn256m -Dnacos.standalone=true -Xlog:gc*:file=/usr/local/nacos/logs/nacos_gc.log:time,tags:filecount=10,filesize=102400 -Dloader.path=/usr/local/nacos/plugins/health,/usr/local/nacos/plugins
/cmdb,/usr/local/nacos/plugins/mysql -Dnacos.home=/usr/local/nacos -jar /usr/local/nacos/target/nacos-server.jar --spring.config.location=classpath:/,classpath:/config/,file:./,file:./config/,file:/usr/local/nacos/conf/ --logging.config=
/usr/local/nacos/conf/nacos-logback.xml --server.max-http-header-size=524288
nacos is starting with standalone
nacos is starting,you can check the /usr/local/nacos/logs/start.out
四、开通端口
1.已开通的云产品->云服务器 ECS->点击本实例的ID->本实例安全组
2.点击对应安全组最右边的配置规则
在浏览器输入:ip:8848/nacos
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。