2021年3月4日星期四

shadowsocks-rust服务端安装

通过下面命令安装:

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

没有评论:

发表评论

小型网站的ubuntu服务器如何提升连接数

 当服务器有多个api应用,或者网站的时候,会出现网页打不开。但是cpu、内存等都很空闲。这种情况,有可能是网站的文件数设置不正确。 查询服务器支持的TCP连接数: ulimit -n 默认是1024 需要增加方法: 编辑/etc/security/limits.conf * s...