免费资源
我们一直在努力

DO的VPS在CentOS下shadowsocks-libev一键安装脚本

本脚本适用环境:
系统支持:CentOS 6.x 32或64位
内存要求:≥128M

购买DO的VPS地址:官网链接

关于本脚本:
一键安装 libev 版的 shadowsocks 最新版本。该版本的特点是内存占用小(600k左右),低 CPU 消耗,甚至可以安装在基于 OpenWRT 的路由器上。

默认配置:
服务器端口:8989
客户端端口:1080
密码:自己设定

使用方法:

PUTTY使用方法见这里:如何使用putty管理linux系统

使用root用户登录,运行以下命令:

  • 1、yum -y install wget
  • 2、wget –no-check-certificate https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks-libev.sh
  • 3、chmod +x shadowsocks-libev.sh
  • 4、./shadowsocks-libev.sh 2>&1 | tee shadowsocks-libev.log

安装完成后,脚本提示如下:

  • Congratulations, shadowsocks-libev install completed!
  • Your Server IP: IP地址
  • Your Server Port: 8989
  • Your Password: 密码
  • Your Local IP: 127.0.0.1
  • Your Local Port: 1080
  • Your Encryption Method: aes-256-cfb

卸载方法:
使用 root 用户登录,运行以下命令:

./shadowsocks-libev.sh uninstall


 

安装完成后即已后台启动 shadowsocks ,运行:

ps -ef | grep ss-server | grep -v ps | grep -v grep

可以查看进程是否存在。
本脚本安装完成后,会将 shadowsocks-libev 加入开机自启动。

使用命令:
启动:/etc/init.d/shadowsocks start
停止:/etc/init.d/shadowsocks stop
重启:/etc/init.d/shadowsocks restart
查看状态:/etc/init.d/shadowsocks status

赞(6)
未经允许不得转载:免费资源网 » DO的VPS在CentOS下shadowsocks-libev一键安装脚本
分享到: 更多 (0)

评论 1

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址