frp开机启动和后台运行
如果想自己手写,参照如下:
已经解决:
使用systemd配置开机自启,适用于 centos7 Ubuntu 16 或 debian 8。
vi /etc/systemd/system/frps.service 新建此文件,并写入以下内容
:
[Unit]
Description[……]
分享、变通、创造、创新
AI视频识别 / ubuntu / 远程视频查看及frp应用
已经解决:
使用systemd配置开机自启,适用于 centos7 Ubuntu 16 或 debian 8。
vi /etc/systemd/system/frps.service 新建此文件,并写入以下内容
:
[Unit]
Description[……]
编辑文件 /etc/rc.local
vi /etc/rc.local
复制
在文件末尾加上你开机需要执行的命令即可(写绝对路径,添加到系统环境变量的除外),如:
nohup /usr/local/srs2/objs[......]
关注:
| 一 | 二 | 三 | 四 | 五 | 六 | 日 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
| 29 | 30 | |||||
AI audio autoCAD automatic start c CAD certbot cmake cms cross platform curl db docker ffmpeg frp github gogs gstreamer https ip linux make mariadb mongodb mongoose mqtt mysql notepad openssl openwrt phpmyadmin proxy Raspberry run ssh ssl tailscale ubuntu v2ray video windows wordpress zlib 数据库 智慧工地
自适应IP