目录
Centos7部署Nacos单节点
一、环境准备
1、64 bit OS,支持 Linux/Unix/Mac/Windows,推荐选用 Linux/Unix/Mac。
2、64 bit JDK 1.8+
yum install -y java-1.8.0
3、Maven 3.2.x+
#配置源
wget http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo -O /etc/yum.repos.d/epel-apache-maven.repo
#安装
yum install -y apache-maven
二、部署nacos
2.1、下载nacos
wget https://github.com/alibaba/nacos/releases/download/2.0.1/nacos-server-2.0.1.tar.gz
2.2、解压部署
tar xf nacos-server-2.0.1.tar.gz
2.3、加入systemctl管理
[Unit]
Description=nacos
After=network.target
[Service]
Type=forking
ExecStart=/data/server-side/nacos/bin/startup.sh -m standalone
ExecStop=/data/server-side/nacos/bin/shutdown.sh
PrivateTmp=true
[Install]
WantedBy=multi-user.target
三、浏览器访问
http://[服务器IP]:8848/nacos
#默认账户密码:
nacos
nacos
标签:maven,部署,Nacos,nacos,server,Centos7,节点
From: https://www.cnblogs.com/dfdzh/p/16789828.html