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

Update and rename install.sh to install-rev.sh #21

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

LiuxlMech
Copy link

add sudo before ifconfig
but it doesn't work.
Debian系统,运行过程中ifconfig报错,尝试安装net-tools未起作用。在单独的ifconfig前面加sudo可以起到作用,但是在这行命令中还是无法运行。

@LiuxlMech LiuxlMech marked this pull request as draft October 14, 2024 11:16
@crazypeace
Copy link
Owner

crazypeace commented Oct 14, 2024

Thanks for your feedback!
感谢反馈!

The command you mentioned is just to get the IP address of this VPS.
你提到的命令只是用于获取本机的IP地址.

That's not the only way to the IP address of this VPS.
那并不是获取本机IP的唯一方法

If you can edit the bash script, you can use other ways.
如果你有能力修改脚本, 你可以使用别的方法.

Reference. 请参考.
https://github.com/crazypeace/v2ray_wss/blob/main/getip.sh

From another side, if you confirm the param you used, you can skip the verify process.
从另一方面来说, 你对你使用的参数有信心, 那么可以不使用脚本的校验交互过程.

Reference. 请参考.
https://github.com/crazypeace/v2ray_wss/tree/main#带参数执行

@crazypeace
Copy link
Owner

This methond to get IP is updated later.
这个检测IP的方法是后面更新的.

I have not update the net-tools to apt install. I'm sorry, it's my mistake.
我没有及时在脚本的安装相关依赖时, 更新 net-tools . 抱歉,是我的失误.

I udpated the script.
我更新了脚本.

About the sudo issue you mentioned. I believe that's because other reason.
关于你说的sudo执行的问题, 我相信应该是其它原因.

You can execute bash -x param. To know what command be executed, and the result.
你可以带 -x 参数执行bash. 以观察具体执行的命令, 以及相应的结果.

bash -x <(curl -L https://github.com/crazypeace/v2ray_wss/raw/main/install.sh)

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

Successfully merging this pull request may close these issues.

2 participants