#小飞机#libev版一键脚本

介绍

  • 系统支持:Debian/Ubuntu/CentOS
  • 内存要求:≥128M

特性

该版本的特点是内存占用小,大概600k左右,使用libevC编写,低CPU消耗,甚至可以安装在基于OpenWRT的路由器上;

安装

Debian/Ubuntu

wget –no-check-certificate -O shadowsocks-libev-debian.sh https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks-libev-debian.sh
chmod +x shadowsocks-libev-debian.sh
./shadowsocks-libev-debian.sh 2>&1 | tee shadowsocks-libev-debian.log

CentOS

yum –no-check-certificate -O shadowsocks-libev-debian.sh https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks-libev-debian.sh
chmod +x shadowsocks-libev-debian.sh
./shadowsocks-libev-debian.sh 2>&1 | tee shadowsocks-libev-debian.log

根据提示输入SS密码,端口号,加密方式
再次出现提示,任意键继续,ctrl+c取消安装

命令

说明命令
启动/etc/init.d/shadowsocks start
停止/etc/init.d/shadowsocks stop
重启/etc/init.d/shadowsocks restart
卸载./shadowsocks-libev-debian.sh uninstall
查看状态/etc/init.d/shadowsocks status
配置文件/etc/shadowsocks-libev/config.json

多用户多端口配置

{
    "server":"0.0.0.0",
    "local_address":"127.0.0.1",
    "local_port":1080,
    "port_password":{
        "端口1":"密码1",
        "端口2":"密码2",
        "端口3":"密码3",
        "端口4":"密码4",
        "端口5":"密码5"
    },
    "timeout":600,
    "method":"aes-256-gcm",
      "fast_open": false
}

发表评论

2 条评论

  1. Zero

    libev支持多用户吗??

    1. sunpma
      @Zero

      libev没试过,你可以试试,python版支持多用户多端口