基于vps 搭建SS 及使用锐速加速
系统环境准备
操作系统 :Centos 6 x86_64
更新系统内核:
yum install wget net-tools -y && wget --no-check-certificate http://soft.paozailushang.com/vps/huanneihe.sh && bash huanneihe.sh
安装锐速
wget --no-check-certificate -O appex.sh https://raw.githubusercontent.com/0oVicero0/serverSpeeder_Install/master/appex.sh && chmod +x appex.sh && bash appex.sh install
卸载锐速
wget --no-check-certificate -O appex.sh https://raw.githubusercontent.com/0oVicero0/serverSpeeder_Install/master/appex.sh && chmod +x appex.sh && bash appex.sh uninstall
安装git
yum -y install git
代码安装SS
# 安装pip
yum install python-setuptools
easy_install pip
wget https://raw.githubusercontent.com/pypa/get-pip/master/2.6/get-pip.py
python2.6 get-pip.py
# 安装ss
pip install https://github.com/shadowsocks/shadowsocks/archive/master.zip -U
# 设置config
{
"server":"0.0.0.0",
"server_port":443,
"local_address":"127.0.0.1",
"local_port":1080,
"password":"xxx",
"timeout":300,
"method":"aes-256-gcm"
}
# 停止和启动
ssserver -c /etc/shadowsocks/config.json -d start
ssserver -c /etc/shadowsocks/config.json -d stop