我们可以在上面看看一下技术文章,学习新技术,好好学习,day day up! 然后为国家做贡献!

酸酸乳

安装酸酸乳

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

卸载酸酸乳

>./shadowsocks-all.sh uninstall

启动脚本

启动脚本后面的参数含义,从左至右依次为:启动,停止,重启,查看状态。

/etc/init.d/shadowsocks-(xxx) start | stop | restart | status

各版本默认配置文件

/etc/shadowsocks-(xxx)/config.json

酸酸乳优化

好像因为内核问题BBR和锐速只能二选一

BBR安装

wget --no-check-certificate https://github.com/teddysun/across/raw/master/bbr.sh && chmod +x bbr.sh && ./bbr.sh

确认BBR开启

# A.若输入
sysctl net.ipv4.tcp_available_congestion_control 
# 返回形式如下面这样则开启成功
net.ipv4.tcp_available_congestion_control = bbr cubic reno
# B.若输入
lsmod | grep bbr
# 返回形式如下面这样则开启成功
tcp_bbr                16384  1

锐速安装

wget -N --no-check-certificate https://github.com/91yun/serverspeeder/raw/master/serverspeeder.sh && bash serverspeeder.sh

查看锐速是否运行

service serverSpeeder status

卸载锐速

chattr -i /serverspeeder/etc/apx* && /serverspeeder/bin/serverSpeeder.sh uninstall -f


原文链接: Shadowsocks: https://teddysun.com/486.html

锐速: https://www.91yun.co/archives/683

SSR配置说明: https://github.com/breakwa11/shadowsocks-rss/wiki/config.json