-
-
Save pengchujin/70ea35908515a3e38aaaaf80c34c99b4 to your computer and use it in GitHub Desktop.
t
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt-get update | |
sudo apt-get install python | |
sudo apt-get install python-pip | |
unset LC_ALL | |
pip install shadowsocks | |
unset LC_ALL | |
export LC_ALL="en_US.UTF-8" | |
export LC_CTYPE="en_US.UTF-8" | |
sudo dpkg-reconfigure locales | |
sudo add-apt-repository ppa:chris-lea/libsodium; | |
sudo echo "deb http://ppa.launchpad.net/chris-lea/libsodium/ubuntu trusty main" >> /etc/apt/sources.list; | |
sudo echo "deb-src http://ppa.launchpad.net/chris-lea/libsodium/ubuntu trusty main" >> /etc/apt/sources.list; | |
sudo apt-get update | |
sudo apt-get install libsodium-dev -y | |
nohup sslocal -s -p 8888 -k oneisall -l 1080 -t 600 -m chacha20 & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment