科学上网请使用socks代理软件,Bandwagonhost推广码戳这里

当前脚本是python版一键安装, 其他版本参照Resource

SS Installation

OS: CentOS 6,7,Debian,Ubuntu
Memory:≥128M

Default Configuration

server port: customize (default 8989)
client port: 1080
password: customize (default teddysun.com)
#Note: This script default create single user, if configure multiple users,
please modify /etc/shadowsocks.json, then restart service.

1
2
3
wget --no-check-certificate https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks.sh
chmod +x shadowsocks.sh
./shadowsocks.sh 2>&1 | tee shadowsocks.log

output

1
2
3
4
5
6
7
8
9
10
Congratulations, shadowsocks install completed!
Your Server IP:your_server_ip
Your Server Port:your_server_port
Your Password:your_password
Your Local IP:127.0.0.1
Your Local Port:1080
Your Encryption Method:aes-256-cfb

Welcome to visit:https://teddysun.com/342.html
Enjoy it!

Windows Client Download

https://github.com/shadowsocks/shadowsocks-windows/releases

SS Deinstallation

1
./shadowsocks.sh uninstall

Configuration Sample

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#/etc/shadowsocks.json
{
"server":"0.0.0.0",
"local_address":"127.0.0.1",
"local_port":1080,
"port_password":{
"8989":"password0",
"9001":"password1",
"9002":"password2",
"9003":"password3",
"9004":"password4"
},
"timeout":300,
"method":"aes-256-cfb",
"fast_open": false
}

How to use

1
2
3
4
5
6
7
8
#start
/etc/init.d/shadowsocks start
#stop
/etc/init.d/shadowsocks stop
#restart
/etc/init.d/shadowsocks restart
#check status
/etc/init.d/shadowsocks status

Resources:
秋水逸冰 - Python版一键安装
秋水逸冰 - Go版一键安装