ss proxy

安装

mkdir ~/.config/clash

安装cargo

curl https://sh.rustup.rs -sSf | sh
如果安装卡住了,就自己下载https://sh.rustup.rs里的sh文件再传上去执行,然后等待弹出询问界面,输入1回车

ss proxy_第1张图片
然后退出shell,重进

安装ss

# https://github.com/s/s-rust/releases
# s-v1.15.2.x86_64-unknown-linux-gnu.tar.xz
wget https://objects.githubusercontent.com/github-production-release-asset-2e65be/25250913/05302c2b-a87a-4309-8b98-31a564432cf1?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230302%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230302T161601Z&X-Amz-Expires=300&X-Amz-Signature=daa5bf13812b83a5daf8da2517e4e322d59afd5ffc4e9b1c8becd65e62e1b9f0&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=25250913&response-content-disposition=attachment%3B%20filename%3Ds-v1.15.2.x86_64-unknown-linux-gnu.tar.xz&response-content-type=application%2Foctet-stream
tar -xvf s-v1.15.2.x86_64-unknown-linux-gnu.tar.xz
vi /etc/profile
# 把当前路径加到环境变量 export PATH=/root/.config/clash:$PATH
source /etc/profile

sslocal -b “127.0.0.1:33210” -U --protocol http --server-url “ss://你的”

你可能感兴趣的:(Linux,linux,rust,运维)