freakinyy / shadowsocks-rust_server_installer_for_ubuntu

3 stars 3 forks source link

Errors During Install. #1

Open cursedwraith opened 1 year ago

cursedwraith commented 1 year ago

Hi and thanks for your contribution.

/usr/bin/shadowsocks-rust_bin_installer.sh: line 33: **sslocal: command not found**
sslocal
ssserver
ssurl
ssmanager
ssservice
/usr/bin/shadowsocks-rust_bin_installer.sh: line 33: **v2ray-plugin: command not found**

./shadowsocks-rust_server_installer_for_ubuntu.sh: line 53: [: missing `]'

Abnormal or expected ?

freakinyy commented 1 year ago

/usr/bin/shadowsocks-rust_bin_installer.sh: line 33: sslocal: command not found /usr/bin/shadowsocks-rust_bin_installer.sh: line 33: v2ray-plugin: command not found These messages means sslocal and v2ray-plugin are not found on your machine when checking version. If it happens when first installing, it is expected.

./shadowsocks-rust_server_installer_for_ubuntu.sh: line 53: [: missing `]' This is a bug and it is fixed now. The code in line 48-64 is used to check machine's virtualization technology and decide whether to install Rng-tools for better random numbers for shadowsocks. If your machine is not kvm or hyperv virtualization, this bug will cause Rng-tools installed accidentally. To be on the safe side, you'd better uninstall Rng-tools manually if your machine is not kvm or hyperv.

Thanks for your feedback.