1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
| rustup self uninstall
export RUSTUP_DIST_SERVER=https://mirrors.ustc.edu.cn/rust-static export RUSTUP_UPDATE_ROOT=https://mirrors.ustc.edu.cn/rust-static/rustup
$ curl https://sh.rustup.rs -sSf | sh -s -- --help $ curl https://sh.rustup.rs -sSf | sh -s -- --no-modify-path $ curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly $ curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain none $ curl https://sh.rustup.rs -sSf | sh -s -- --profile minimal --default-toolchain nightly
apt proxy
sudo apt-get -o Acquire::http::proxy="socks5h://127.0.0.1:1080/" install de fault-jdk
export ALL_PROXY=socks5://127.0.0.1:1080
|