CentOS/RHEL
sudo yum install m2crypto python-setuptools
sudo easy_install pip
sudo pip install shadowsocks
Create a configuration file:
sudo vi /etc/shadowsocks.json
Put the following text into the file.
{
"server":"your_server_ip",
"server_port":8000,
"local_port":1080,
"password":"your_passwd",
"timeout":600,
"method":"aes-256-cfb"
}
Replace the green text with your info. Save and close the file, then start shadowsocks server.
sudo ssserver -c /etc/shadowsocks.json -d start
To stop shadowsocks server:
sudo ssserver -d stop
Restart Shadowsocks server:
sudo ssserver -c /etc/shadowsocks.json -d restart
Check Shadowsocks log
less /var/log/shadowsocks.log