Basic overview
This article does not relate to the content vps server, but in their own settings on Linux computers. win only need to download gui, but for the convenience, linux needs the command line.
Process
First, install pip
sudo apt-get install python-pip
sudo python -m pip install --upgrade pip
Second, install ssh
sudo pip install shadowsocks
If the installation fails, you can try
pip install git+https://github.com/shadowsocks/shadowsocks.git@master
Third, create or modify configuration files
sudo vim /etc/ss.json
Contents of the documents
{
"Server": "xx.xx.xx.xx", // server address
"Server_port": xxxx, // port
"Local_address": "127.0.0.1" // no need to change
"Local_port": 1080, // local port
"password":"password", // 密码
"Timeout": 300, // timeout
"Method": "aes-256-cfb" // encryption
}
Fourth, open
sslocal -c /etc/ss.json #前台运行
6.3.5 Operating
// 开启后显示以下内容,代表开启成功:
// INFO loading libcrypto from libcrypto.so.1.0.0
// INFO starting local at 127.0.0.1:1080
Sixth, the Firefox browser
Since Ubuntu comes Firefox browser, the browser need to configure the information in the connection settings, fill in the following information:
Seven, complete
Q&A:
Q1. E37: No write since last change (add ! to override) when you are using vim to change the configuration?
A1: please enter sudo or sudo -i
Q2: ERROR [Errno 13] Permission denied: '/var/run/shadowsocks.pid'
A2: also sudo
Q3: when you installed ss by using pip, "AttributeError: /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1: undefined symbol: EVP_CIPHER_CTX_cleanup" occurs?
we /usr/local/lib/python2.7/dist-packages/shadowsocks/crypto/openssl.py
Search cleanup replace reset save it
Reference: https: //sanii.cn/article/241
https://www.zhujipai.com/2017/09/04/%E5%A4%84%E7%90%86/