当前位置:网站首页 / FRP教程 / 正文

ubuntu16.04系统设置FRPS开机自动启动

时间:2017年08月06日 | 作者 : liuhui | 分类 : FRP教程 | 浏览: 12379次 | 评论 0

阿里云限量代金券 | 此广告位出租25元/月

我们使用Linux下常用的进程管理器supervisor来管理FRP服务。


首先需要安装supervisor。


sudo apt install supervisor

然后在/etc/supervisor/conf.d下新建一个配置文件frp.conf,输入以下内容。command应该是你放置frp软件的位置。


[program:frp]

command = /opt/frp/frp_0.9.3_linux_amd64/frps -c /opt/frp/frp_0.9.3_linux_amd64/frps.ini

autostart = true

然后启动supervisor,如果事先已经安装好了supervisor那么就重新启动。之后查看一下supervisor的运行状态,看看frp是否已在运行。


# 重启supervisor

sudo systemctl restart supervisor

# 查看supervisor运行状态

sudo supervisorctl status


推荐您阅读更多有关于“”的文章

猜你喜欢

网站分类
关注电脑博士
友情链接

分享:

支付宝

微信