frp安装和自启
https://blog.csdn.net/weixin_40837318/article/details/121671160
ubuntu20 使用systemctl 配置frp服务端开机自启:
1.在/etc/systemd/system文件夹下新建一个文件xxx.service
[Unit] Description=Frp_GPU After=syslog.target [Service] ExecStart=/root/soft/frp_0.48.0_linux_amd64/frps SuccessExitStatus=143 RemainAfterExit=yes [Install] WantedBy=multi-user.target
2.开启命令
systemctl enable xxx.service 开启 (开启了,但还没生效,要重启计算机)
systemctl restart xxx.service 重启
systemctl stop xxx.service 停止
systemctl status xxx.service 查看开启状态
4.重启系统
reboot

浙公网安备 33010602011771号