CentOS 7_64升内核及部署Shadowsocks

1. How to Install or Upgrade to Kernel 4.20 in CentOS 7
来源: https://www.tecmint.com/install-upgrade-kernel-version-in-centos-7/ ,逐行复制到命令行执行,共9行:
[bash]uname -sr
rpm –import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm
yum –disablerepo=”*” –enablerepo=”elrepo-kernel” list available
yum –enablerepo=elrepo-kernel install kernel-ml -y
sed -i ‘s/GRUB_DEFAULT=saved/GRUB_DEFAULT=0/g’ /etc/default/grub
grub2-mkconfig -o /boot/grub2/grub.cfg
reboot
uname -sr[/bash]

2. 开启bbr
来源: https://gfw.press/blog/?p=7255 ,逐行复制到命令行执行,共3行:
[bash]echo “net.core.default_qdisc = fq” >> /etc/sysctl.conf
echo “net.ipv4.tcp_congestion_control = bbr” >> /etc/sysctl.conf
sysctl -p[/bash]

3. CentOS下shadowsocks-libev一键安装脚本
来源: https://teddysun.com/357.html ,逐行复制到命令行执行,共3行:
[bash]wget –no-check-certificate -O shadowsocks-libev.sh https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks-libev.sh
chmod +x shadowsocks-libev.sh
./shadowsocks-libev.sh 2>&1 | tee shadowsocks-libev.log[/bash]

客户端Shadowsocks-gui参考
链接:https://github.com/shadowsocks/shadowsocks-gui
其中Windows链接:https://github.com/shadowsocks/shadowsocks-windows

验证:
试试访问 http://ip111.cnhttps://www.youtube.com

Tags: ,

Leave a Reply