Comments (9)
Press any key to start...or Press Ctrl+c to cancel
frps install path:/usr/local/frps
config file for frps ... done
download frps ...
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
mv: cannot stat 'frp_0.32.0_linux_amd64/frps': No such file or directory
failed
原因是这个压缩包没有用gzip格式压缩,所以不用加z指令。
在解压tar.gz文件的时候报错
百度可以查到
from frps-onekey.
并不是,FRPS_INIT 打成了 FRPS.INIT,另外fun_getVer 打成了 fun_get_version
from frps-onekey.
并不是,FRPS_INIT 打成了 FRPS.INIT,另外fun_getVer 打成了 fun_get_version
按照你的报错日志是 解压方式不一致
from frps-onekey.
你自己看 https://github.com/MvsCode/frps-onekey/blob/master/install-frps.sh#L173
首先如果直接回车,默认设置会到187行,走gitee的下载链接
另外 github_download_url 打成了 gitub_download_url, 导致github的链接不完整,根本就下不来那个文件,后面的命令肯定失败,和gzip半毛钱关系都没有
from frps-onekey.
你自己看 https://github.com/MvsCode/frps-onekey/blob/master/install-frps.sh#L173
首先如果直接回车,默认设置会到187行,走gitee的下载链接
另外 github_download_url 打成了 gitub_download_url, 导致github的链接不完整,根本就下不来那个文件,后面的命令肯定失败,和gzip半毛钱关系都没有
嗯嗯,看到了,现在再试试
from frps-onekey.
我自己修好了,另外还改了两处
@@ -821,8 +822,8 @@ update_program_server_clang(){
checkos
check_centosversion
check_os_bit
- fun_get_version
- remote_init_version=`wget -qO- ${FRPS.INIT} | sed -n '/'^version'/p' | cut -d\" -f2`
+ fun_getVer
+ remote_init_version=`wget -qO- ${FRPS_INIT} | sed -n '/'^version'/p' | cut -d\" -f2`
local_init_version=`sed -n '/'^version'/p' ${program_init} | cut -d\" -f2`
install_shell=${strPath}
if [ ! -z ${remote_init_version} ];then
from frps-onekey.
我是复制粘贴的命令(也可能是谷歌自动翻译的原因没仔细看)
from frps-onekey.
我是在脚本最前加了 set -x 看出来的
from frps-onekey.
我自己修好了,另外还改了两处
@@ -821,8 +822,8 @@ update_program_server_clang(){ checkos check_centosversion check_os_bit - fun_get_version - remote_init_version=`wget -qO- ${FRPS.INIT} | sed -n '/'^version'/p' | cut -d\" -f2` + fun_getVer + remote_init_version=`wget -qO- ${FRPS_INIT} | sed -n '/'^version'/p' | cut -d\" -f2` local_init_version=`sed -n '/'^version'/p' ${program_init} | cut -d\" -f2` install_shell=${strPath} if [ ! -z ${remote_init_version} ];then
Thx
from frps-onekey.
Related Issues (20)
- 升级失败 小白不知道怎么处理了 帮忙看看谢谢 HOT 1
- adm64 改成arm64,亲测可以。如果是32位就把386改成arm HOT 5
- Check updates for shell... 卡住 HOT 3
- 监听ipv6端口后掉线
- 以后会支持ARM吗 HOT 1
- 腾讯云服务器
- 无法下载配置文件 HOT 1
- 一直报错 无法启动 HOT 3
- 一键脚本不适合**大陆服务器,麻烦您改一下 HOT 2
- 脚本有报错 /etc/init.d/frps: line 45: [: too many arguments Starting Frps(0.51.1).../etc/init.d/frps: line 45: [: too many arguments start failed
- 有离线版的没 阿里云的服务器 下载很慢 经常失败 HOT 1
- arm版本没有上传
- 新版本无法用https
- 安装后面板打不开 HOT 4
- 操作系统支持
- 0.52版本启用新的配置文件,希望尽快支持 HOT 2
- download /etc/init.d/frps.../etc/init.d/frps: No such file or directory failed HOT 5
- 不想改下支持其他CentOS的衍生品?
- 报错啦~~ HOT 3
- Need help lost with galaxy a51
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frps-onekey.