搜索
Hi~登录注册
查看: 1171|回复: 0

CentOS系统shadowsocks一键安装脚本 -centos教程

[复制链接]

1892

主题

1899

帖子

6406

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
6406
发表于 2015-4-16 16:03:15 | 显示全部楼层 |阅读模式
本脚本适用环境:系统支持:CentOS 6.x 32或64位内存要求:≥64M关于本脚本:一键安装Python 版shadowsocks 的最新版,同时安装了 Python 包管理工具 pip。默认配置:服务器端口:8989客户端端口:1080密码:自己设定(如不设定,默认为teddysun.com)备注:脚本默认创建单用户配置文件,如需配置多用户,安装完毕后参照下面的教程 sample 手动修改配置文件后重启即可。客户端下载:http://sourceforge.net/projects/shadowsocksgui/files/dist/使用方法:使用root用户登录,运行以下命令:wget --no-check-certificate https://raw2.github.com/teddysun/shadowsocks_install/master/shadowsocks.shchmod +x shadowsocks.sh./shadowsocks.sh 2>&1 | tee shadowsocks.log安装完成后,脚本提示如下:Congratulations, shadowsocks install completed!Your Server IP:your_server_ipYour Server Port:8989Your Password:your_passwordYour Local IP:127.0.0.1Your Local Port:1080Your Encryption Method:aes-256-cfbWelcome to visit:http://teddysun.com/342.htmlEnjoy it!卸载方法:使用root用户登录,运行以下命令:./shadowsocks.sh uninstall单用户配置文件sample:配置文件路径:/etc/shadowsocks.json{    "server":"your_server_ip",    "server_port":8989,    "local_address": "127.0.0.1",    "local_port":1080,    "password":"yourpassword",    "timeout":60,    "method":"aes-256-cfb",    "fast_open": false,    "workers": 1}多用户多端口配置文件 sample:配置文件路径:/etc/shadowsocks.json{    "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":60,    "method":"aes-256-cfb",    "fast_open": false,    "workers": 1}使用命令:启动:/etc/init.d/shadowsocks start停止:/etc/init.d/shadowsocks stop重启:/etc/init.d/shadowsocks restart查看状态:/etc/init.d/shadowsocks status
公众微信:idc5ahl
公众QQ:吾爱互联
关注公众微信,公众QQ每天领现金卡密
卡密介绍(http://www.5ahl.com/thread-2182-1-1.html
回复

使用道具 举报

游客
回复
您需要登录后才可以回帖 登录 | 点我注册

快速回复 返回顶部 返回列表