v2ray_wss icon indicating copy to clipboard operation
v2ray_wss copied to clipboard

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

Open LiuxlMech opened this issue 1 year ago • 2 comments

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

LiuxlMech avatar Oct 14 '24 11:10 LiuxlMech

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 avatar Oct 14 '24 13:10 crazypeace

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)

crazypeace avatar Oct 14 '24 14:10 crazypeace