Install SS on VPS
Install Python Package Management && Shadowsocks
1 | <!--Run shell with root privilege--> |
Edit shadowsocks configuration
Create and edit config file1
vi ss.json
1 | { |
Launch shadowsocks on server(Useful command)
Basic command1
2
3ssserver -c ss.json -d start
ssserver -c ss.json -d stop
ssserver -c ss.json -d restart
Set automatically boot
1 | //Insert the following command before the last line of file `/etc/rc.local` |
Problems
python error
1
locale.Error: unsupported locale setting
Solution
1
export LC_ALL="en_US.UTF-8"