linux nacos开机自启动
时间: 2023-10-19 18:29:13 浏览: 104
在Linux下,可以通过创建一个systemd服务来实现Nacos的开机自启动。
首先,使用以下命令创建一个名为nacos.service的文件:
```
cd /lib/systemd/system
vi nacos.service
```
然后,将以下内容添加到nacos.service文件中:
```
[Unit]
Description=nacos
After=network.target
<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [nacos的 standalone模式启动bat](https://download.csdn.net/download/woodAstone2008/85709572)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [linux nacos自启动](https://blog.csdn.net/zhanghuaiyu_35/article/details/127748934)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文