Skip to content

Instantly share code, notes, and snippets.

@pengchujin
Created July 30, 2018 10:48
Show Gist options
  • Save pengchujin/70ea35908515a3e38aaaaf80c34c99b4 to your computer and use it in GitHub Desktop.
Save pengchujin/70ea35908515a3e38aaaaf80c34c99b4 to your computer and use it in GitHub Desktop.
t
#!/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