centos7安裝nacos linux版本

2021-10-22 18:53:37 字數 784 閱讀 6717

提取碼:55xh

二、解壓不用說了,cd到nacos的bin目錄下,單機版不用那麼複雜,有時間再去研究吧,這樣啟動就好了

sh startup.sh -m standalone
三、開機自啟動

vim /lib/systemd/system/nacos.service

複製新增以下,位址一定填你的nacos不要**的,ok?

[unit]

description=nacos

after=network.target

[service]

type=forking

execstart=/usr/local/nacos/nacos/bin/startup.sh -m standalone

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

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

privatetmp=true

[install]

wantedby=multi-user.target

systemctl daemon-reload

systemctl enable nacos.service

systemctl start nacos.service

雲伺服器端口8848記得開啟

centos7 安裝centos桌面

一 輸入命令 yum groupinstall gnome desktop graphical administration tools 二 設定系統啟動等級。systemctl get default 獲取當前系統執行形式,會顯示multi user.target 命令列終端 或者 graphic...

centos7安裝nginx(yum安裝)

感興趣的可以檢視用壓縮包安裝的過程 1 通過檢視當前linux核心以及版本號進行獲取nginx的rpm安裝源適配。uname a2 獲取nginx相關的rpm源 防止版本號不對應產生的各種問題 rpm uvh3 yum安裝nginx yum install nginx等待安裝完成。1 安裝完成後,n...

CentOS7安裝docker(yum安裝)

1.中文文件 2.檢視linux版本 cat etc redhat release3.是否聯網 這裡yun安裝,不聯網gg 4.解除安裝舊版本 sudo yum remove docker docker client docker client latest docker common docker...