通过下面命令安装:
apt update&&apt install curl gcc make libssl-dev pkg-config curl https://sh.rustup.rs -sSf | sh wget https://download.libsodium.org/libsodium/releases/libsodium-1.0.18-stable.tar.gz gunzip -d libsodium-1.0.18-stable.tar.gz tar -xf libsodium-1.0.18-stable.tar cd libsodium-stable ./configure make&&make install
重启VPS,
然后安装shadowsocks-rust
cargo install shadowsocks-rust
如果出现下面的错误:
error[E0554]: #![feature] may not be used on the stable release channel采用下面命令安装rustup install nightly cargo +nightly install shadowsocks-rust
没有评论:
发表评论