Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

一键脚本不适合中国大陆服务器,麻烦您改一下 #84

Open
yangmingtao opened this issue Jul 12, 2023 · 2 comments
Open

Comments

@yangmingtao
Copy link

特别是中国国内的一些服务器根本下载不下开,针对您的脚本我修改了一下,我只保留了生成frp的ini的信息生成其他的我全部给删了
1、没有必要在脚本里把版本号写死
2、下载之前麻烦先判断一下本地路径是否有
3、没有必要去更新shell
4、可以在创建文件的时候就判断是否是root用户,把目录下的所有的文件变成可读写

@yangmingtao
Copy link
Author

所有版本我试过了 都可以搭建成功
1、其实我们在下载之前查看一下服务器的cpu架构 使用命令 uname -a 即可,然后手动下载对应的版本
2、给安装目录赋予可读写权限,使用命令 chmod 777 -R [安装路径]
3、将frps.service加入系统服务中,然后systemctl start frps即可开启服务,同时修改这个service文件,一定要执行systemctl daemon-reload
好了,有什么问题可以加我的微信yangmingtaox

@MvsCode
Copy link
Owner

MvsCode commented Jul 12, 2023

所有版本我试过了 都可以搭建成功 1、其实我们在下载之前查看一下服务器的cpu架构 使用命令 uname -a 即可,然后手动下载对应的版本 2、给安装目录赋予可读写权限,使用命令 chmod 777 -R [安装路径] 3、将frps.service加入系统服务中,然后systemctl start frps即可开启服务,同时修改这个service文件,一定要执行systemctl daemon-reload 好了,有什么问题可以加我的微信yangmingtaox

Good, 那你Pull 一下你修改的内容看一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants