标签:pre deb token fat get common die update sudo
sudo apt-get install -f -y
sudo apt-get autoremove -y
sudo apt-get install aria2 git screen -y
aria2c -c -s 4 https://github.com/fatedier/frp/releases/download/v0.32.0/frp_0.32.0_linux_amd64.tar.gz
tar -zxvf frp_0.32.0_linux_amd64.tar.gz
mv frp_0.32.0_linux_amd64 frps
cd frps
echo -e "[common]
bind_addr = 0.0.0.0
bind_port = 7000
kcp_bind_port = 7000
vhost_http_port = 80
vhost_https_port = 443
authentication_timeout = 0
log_file = frps.log
token = frp.lucoder.com" > frpservice.ini
nohup ./frps -c frpservice.ini & 1=1
ps aux | grep frps
cd ..
rm -rf frp_0.32.0_linux_amd64.tar.gz
注意:
sudo apt-get update
,并输入超级管理员密码。标签:pre deb token fat get common die update sudo
原文地址:https://www.cnblogs.com/muxuan/p/12490623.html