Please install Python at first.

install

pip install shadowsocks

write config file:

(I am in ~/shadowsocks/config.json)

1
2
3
4
5
6
7
8
{
"server":"0.0.0.0",
"server_port":8388,
"local_port":1080,
"password":"shadowsocks",
"timeout":600,
"method":"aes-256-cfb"
}

start:

ssserver -c ~/shadowsocks/config.json

start in background:

ssserver -c ~/config.json -d