UBuntu frp开机自启动
时间: 2023-10-28 13:22:10 浏览: 116
开机自启动
要在Ubuntu设置frp开机自启动,可以按照以下步骤进行操作:
1. 首先,创建一个frp的systemd服务单元文件。在终端中输入以下命令,创建并编辑该文件:
```
sudo nano /etc/systemd/system/frpc.service
```
2. 在打开的文件中,复制并粘贴以下内容:
```
[Unit]
Description=frpc
After=network.target
Wants=network.target
<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [Ubuntu 设置frp开机自启动](https://blog.csdn.net/qidu1998/article/details/118047226)[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_1"}}] [.reference_item style="max-width: 50%"]
- *2* [Ubuntu 22.04 配置 FRPC 开机自动](https://blog.csdn.net/total0/article/details/130753145)[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_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文