1、添加源
添加 GPG public key
wget -O- http://shadowsocks.org/debian/1D27208A.gpg | sudo apt-key add -
添加源
sudo vi /etc/apt/sources.list
最后面添加
# Ubuntu 14.04 or above
deb http://shadowsocks.org/ubuntu trusty main
更新源
sudo apt-get update
2、安装程序
sudo apt-get install shadowsocks-libev
3、配置文件位置
/etc/shadowsocks-libev/config.json
4、启动调试
ss-server -c /etc/shadowsocks-libev/config.json
5、开机自启动
cd /etc/
sudo vi rc.local
在末尾exit 0的前面加上
ss-server -c /etc/shadowsocks-libev/config.json
One comment