nacos安装-普通安装

一、官网下载压缩包


​​https://github.com/alibaba/nacos/releases​​

[root@wind-jenkins nacos]# ll /root

总用量 127392

-rw-r--r-- 1 root root 117593603 12月 6 18:35 ngithub下载acos-server-2.0.3.tar.gz

解压

[root@wind-jenkins ~]# tar -zxf nacos-linux常用命令server-2.0.3.targithub打不开.gz

[root@wind-jenkins ~]# mv nacos /usr/local/

[root@wind-jenkins ~]# cd /usr/llinux必学的60个命令ocal/nacos/

[root@wind-jenkins nacos]# ls

bin conf LI压缩包怎么压缩到最小CENSE NOTICE官网争锋 target

[root@wind-jenkins nacos]# cd bin/

[root@wind-jenkins bin]# ls

shutdown.cmd shutdo系统运维面试题及答案wn.sh startup.cmd startup.sh

二、配置nacos开启自启动

vim/usr/lib/systemd/system/nacos.service

[Unit]

Description=nacos

After=network.target

[Service]

Type=forking

ExecStart=/usr/local/nacos/bi压缩包打开后在哪里找n/startup.sh -m standalone

ExecReload=/usr/loca系统运维工程师面试问题及答案l/nacos/bin/shutdown.sh

ExecStop=/usr/local/nacos/bin/shutdown.sh

Private压缩包加密怎么设置Tmp=trgithub开放私库ue

[Install]

Wa自启动ntedBy压缩包怎么做=multi-ulinux重启命令ser.target

[root@wind-jenkins nacos]#vim使用教程 systemctl start nacos && sy压缩包损坏或格式不支持stemctl status nacos &&systemctl egithub永久回家地址nable nacos

三、使用

默认端口是8848

vim /usr/linux删除文件命令local/nacos/conf/appllinuxication.propertieslinux常用命令