唯一のLinuxバージョンであることはメモとして練習を導入しました。
systemdに設定ファイルを追加します。
vim /usr/lib/systemd/system/frp.service
次のようにドキュメントを読み取ります。
[Unit]
Description=The nginx HTTP and reverse proxy server
After=network.target remote-fs.target nss-lookup.target
[Service]
Type=simple
ExecStart=/usr/local/frp/frps -c /usr/local/frp/frps.ini
KillSignal=SIGQUIT
TimeoutStopSec=5
KillMode=process
PrivateTmp=true StandardOutput=syslog StandardError=inherit [Install] WantedBy=multi-user.target
ExecStartの内容は、そのFRPのインストールディレクトリに応じて変更してください。
設定したブート
systemctl daemon-reload
systemctl enable frp
スタートFRP
systemctl start frp
FRPを開始するかどうかを確認してください
ps aux | grep frps
ターンリンクします。https://www.jianshu.com/p/f5527d73bca3