## 安装ShadowSocks服务器
```
sudo apt-get update
sudo apt-get install -y python-gevent python-pip
sudo pip install shadowsocks
sudo apt-get install python-m2crypto
```
## 启动 sss 服务,并设置密码
```
sudo /usr/local/bin/ssserver -p 8388 -k passwd123 -m aes-256-cfb -d start
```
## 加入启动项(把启动 sss 服务的命令放入 `/etc/rc.local` 文件)
```
$ sudo vi /etc/rc.local
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
sudo /usr/local/bin/ssserver -p 8388 -k passwd123 -m aes-256-cfb -d start
exit 0
```