Nacos 环境搭建
1、Nacos 环境搭建
1.0 准备工作
1.0.1、下载nacos-server
下载地址: https://github.com/alibaba/nacos/tags
当前安装: https://github.com/alibaba/nacos/releases/tag/2.0.0-BETA
1.1、Linux 安装
1.1.2、上传至服务器,解压
$>> tar -zxfv nacos-server-2.0.0-BETA.tar.gz
1.1.3、进入 /nacos/bin 目录,修改startup.sh 启动文件
单机模式:将 cluster 改为: standalone
1.1.4、启动服务
>> startup.sh
1.1.5、查看进程
>> ps -ef | grep nacos
1.1.6、查看端口占用
>> netstat -nlhp
1.1.7、地址访问
默认端口:8849
http://IP:8848/nacos/index.html
默认账户密码:nacos/nacos
1.2、win10 安装
1.2.1、进入 /nacos/bin 目录,修改startup.cmd 启动文件(单机模式)
单机模式:将 cluster 改为 standalone
1.2.2、启动
双击 startup.cmd
1.1.7、地址访问
默认端口:8849
http://IP:8848/nacos/index.html
默认账户密码:nacos/nacos