由于某些原因,某些文字不能发布,今天发现不能登录google了,即使我很少上google,肯定是国外的vps出问题了,首先想到的是到美国的海底光缆有抽上了,等了俩小时还不行,测了一下国外都ping不通了,找了台香港的win上搬瓦工看看,vps过期了,没任何提示,没任何邮件,因为买的太便宜了,查了一下原来是产品下架不续费了,又新买了一个,以前的后台是一键安装ss的,现在没有了,只能自己弄。系统CentOS6.x
一键安装脚本:点击下载
wget --no-check-certificate www.zhoujianhui.com/upload/shadowsocks.sh chmod +x shadowsocks.sh ./shadowsocks.sh 2>&1 | tee shadowsocks.log
先输入密码,然后输入端口,这里建议用443,然后按7选择 aes-256-cfb,最后回车,安装好后如下图
卸载方法
./shadowsocks.sh uninstall
配置文件路径:/etc/shadowsocks.json
单用户配置:
{ "server":"your_server_ip", "server_port":8989, "local_address":"127.0.0.1", "local_port":1080, "password":"yourpassword", "timeout":300, "method":"aes-256-cfb", "fast_open": false }
多用户配置:
{ "server":"your_server_ip", "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 }
相关命令
#启动
/etc/init.d/shadowsocks start
#停止
/etc/init.d/shadowsocks stop
#重启
/etc/init.d/shadowsocks restart
#状态
/etc/init.d/shadowsocks status
然后就是配置本地了,以后在写吧