{"id":67,"date":"2018-10-22T15:11:40","date_gmt":"2018-10-22T07:11:40","guid":{"rendered":"http:\/\/nas.caoxingren.site\/wordpress\/?p=67"},"modified":"2019-05-14T18:54:44","modified_gmt":"2019-05-14T10:54:44","slug":"ubuntu-frp-%e8%ae%be%e7%bd%ae%e5%bc%80%e6%9c%ba%e8%87%aa%e5%90%af%e5%8a%a8","status":"publish","type":"post","link":"https:\/\/blog.940611.xyz\/?p=67","title":{"rendered":"ubuntu FRP \u8bbe\u7f6e\u5f00\u673a\u81ea\u542f\u52a8"},"content":{"rendered":"<div class=\"mainricon-tit\">ubuntu FRP \u8bbe\u7f6e\u5f00\u673a\u81ea\u542f\u52a8<\/div>\n<div class=\"mainricon-con\">\n<p>\u6211\u4eec\u4f7f\u7528 ubuntu \u00a0Linux\u4e0b\u5e38\u7528\u7684\u8fdb\u7a0b\u7ba1\u7406\u5668supervisor\u6765\u7ba1\u7406FRP\u670d\u52a1\u3002<\/p>\n<p>\u9996\u5148\u9700\u8981\u5b89\u88c5supervisor\u3002<\/p>\n<p>sudo apt install supervisor<\/p>\n<p>\u7136\u540e\u5728\/etc\/supervisor\/conf.d\u4e0b\u65b0\u5efa\u4e00\u4e2a\u914d\u7f6e\u6587\u4ef6frp.conf\uff0c\u8f93\u5165\u4ee5\u4e0b\u5185\u5bb9\u3002command\u5e94\u8be5\u662f\u4f60\u653e\u7f6efrp\u8f6f\u4ef6\u7684\u4f4d\u7f6e\u3002<\/p>\n<p>[program:frp]<\/p>\n<p>command = \/root\/frps -c \/root\/frps.ini<\/p>\n<p>autostart = true<\/p>\n<p>\u7136\u540e\u542f\u52a8supervisor\uff0c\u5982\u679c\u4e8b\u5148\u5df2\u7ecf\u5b89\u88c5\u597d\u4e86supervisor\u90a3\u4e48\u5c31\u91cd\u65b0\u542f\u52a8\u3002\u4e4b\u540e\u67e5\u770b\u4e00\u4e0bsupervisor\u7684\u8fd0\u884c\u72b6\u6001\uff0c\u770b\u770bfrp\u662f\u5426\u5df2\u5728\u8fd0\u884c\u3002<\/p>\n<p># \u91cd\u542fsupervisor<\/p>\n<p>sudo systemctl restart supervisor<\/p>\n<p># \u67e5\u770bsupervisor\u8fd0\u884c\u72b6\u6001<\/p>\n<p>sudo supervisorctl status<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>ubuntu FRP \u8bbe\u7f6e\u5f00\u673a\u81ea\u542f\u52a8 \u6211\u4eec\u4f7f\u7528 ubuntu \u00a0Linux\u4e0b\u5e38\u7528\u7684\u8fdb\u7a0b\u7ba1\u7406\u5668superviso [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-67","post","type-post","status-publish","format-standard","hentry","category-5"],"_links":{"self":[{"href":"https:\/\/blog.940611.xyz\/index.php?rest_route=\/wp\/v2\/posts\/67","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.940611.xyz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.940611.xyz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.940611.xyz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.940611.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=67"}],"version-history":[{"count":1,"href":"https:\/\/blog.940611.xyz\/index.php?rest_route=\/wp\/v2\/posts\/67\/revisions"}],"predecessor-version":[{"id":101,"href":"https:\/\/blog.940611.xyz\/index.php?rest_route=\/wp\/v2\/posts\/67\/revisions\/101"}],"wp:attachment":[{"href":"https:\/\/blog.940611.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=67"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.940611.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=67"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.940611.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=67"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}