1. Installation SS
sudosudoinstall python-gevent python-Install shadowsocks
2. Configure SS
There are two ways to start the SS, one is to start with a configuration file (recommended), and the other is to start with a command parameter.
(1) Start with configuration file
Vim ~/ss.json
The contents of the configuration file are as follows:
Server server IP
Server_port Remote port number
Local_port Local port number
Password Password
Timeout timeout length
Method encryption (consistent with server)
{ "Server":"server_ip", "Server_port":9001, "Local_port":1081, "Password":"Password", "Timeout": -, "Method":"RC4-MD5"}
(2) Start with command parameters
Use sslocal--help to query the command of the field in the configuration file, add parameters after the instruction.
3. Start SS
Sslocal-c ~/ss.json# opens and displays the following, which indicates success: # INFO loading Libcrypto from libcrypto.so. 1.0. 0 127.0. 0.1:1081
4. Modify Network Settings
In system settings-hardware-network-Network proxy-Method-Manual. "
5, Installation completed
Note: When you close the sslocal, remember to set the proxy in the network settings to "None", because your SS has been closed, at this time still go agent, there will be no internet phenomenon.
The individual is not very large dependence on the SS, so like this every time manually start the way, of course, we can also set it to boot, so also do not have to frequently modify the network proxy settings. The steps are as follows:
# Open graphical boot entry management interface Gnome-session--c ~/ss.json
Partial reference Https://www.jianshu.com/p/0cfb43874a72
Ubuntu 16.04 Installation SS Client