Armbian系统使用樱花FRP
**Armbian系统使用樱花FRP** 参考教程 https://blog.csdn.net/pwworld/article/details/115678942 https://mp.weixin.qq.com/s/3QwBPRHuujJggNeF229tkQ armbian linux 系统使用 frpc **
1、确认系统架构** 下载 frpc 前,请先确认您的 Linux 系统的架构. 执行下面的命令,根据输出结果就可以确定系统架构 uname -m
2安装 frpc 登录管理面板,在侧边栏点击 “软件下载” : 找到 frpc 的各种下载地址和您的架构标志,复制右边蓝色的下载地址 使用下面的命令进入 /usr/local/bin 目录并下载文件
注:下载文件一定要到 /usr/local/bin 目录下,不然启动不了frpc $ cd /usr/local/bin wget -O frpc https://getfrp.sh/d/frpc_linux_armv7 然后使用下面的命令设置正确的权限并检查输出 # chmod 755 frpc # ls -ls frpc 如果您看到和图里一样的输出,frpc 就安装完成并可以正常使用了。您可以执行下面的命令来再次确认 frpc -v
3.编写后台运行文件 cd /lib/systemd/system/ vi frpc@.service 粘贴下列内容:
[Unit] Description=SakuraFrp Service After=network.target
[Service] Type=idle User=nobody Restart=on-failure RestartSec=60s ExecStart=/usr/local/bin/frpc -f %i
[Install] WantedBy=multi-user.target 保存
4.开机自动运行设置 /usr/local/bin 新建 start_frpc.sh 复制下列内容
#!/bin/bash cd /usr/local/bin str=$"/n" sstr=$(echo -e $str) nohup systemctl daemon-reload echo "$sstr" nohup systemctl start frpc@* (*号为frap官网通道码) echo "$sstr" nohup systemctl start frpc@* echo "$sstr" 保存
5 修改 /etc/rc.local, 加入 sh /usr/local/bin/start_frpc.sh 到此 armbian 开机重启自动开启frpc 设置完毕
本作品采用 知识共享署名-相同方式共享 4.0 国际许可协议 进行许可。
It's an remarkable paragraph in support of all the web users;
they will obtain advantage from it I am sure.
May I simply just say what a comfort to discover somebody who really understands what they are talking about online.
You definitely understand how to bring an issue to light
and make it important. More people must read this and understand this side
of the story. I can't believe you're not more popular because you
definitely possess the gift.
I'm not ssuгe eⲭactly why buut this weblog is loading incredibly slow for me.
Is anyone else havingg this problеm or is it a issue on my end?
I'll chеck back later and see if the problem
still exists.