一、注意事项
1、安装锐速需要降级系统内核,而安装 Google BBR 则需要升级系统内核,故两者不能同时安装。
2、安装锐速需要降级系统内核,有可能造成系统不稳定,故不建议将其应用在重要的生产环境中。
3、本教程只适用于 CentOS6 x64 和 CentOS7 x64 系统!
二、判断系统类型
按照下图提示,我们首先复制下列命令:
- uname -r
然后回到 Xshell 软件,鼠标右键选择粘贴,回车继续即可。
回车后,会输出当前系统的内核版本。主要分三种情况:
1、结果以 2 开头,例如 2.6.32-696.18.7.el6.x86_64。
这种输出结果说明我们的服务器为 CentOS6 x64 系统,大家直接查看第三步进行锐速安装即可。
2、结果以 3 开头,例如 3.10.0-693.11.6.el7.x86_64。
这种输出结果说明我们的服务器为 CentOS7 x64 系统,大家直接查看第四步进行锐速安装即可。
3、结果以 4 开头,例如 4.12.10-1.el7.elrepo.x86_64。
这种输出结果说明我们的服务器已经安装 Google BBR 拥塞控制算法,此时已经无法继续安装锐速。
三、CentOS6 x64 系统安装锐速
按照下图提示,我们继续复制下列命令:
- wget --no-check-certificate -O appex.sh https://raw.githubusercontent.com/0oVicero0/serverSpeeder_Install/master/appex.sh && bash appex.sh install '2.6.32-642.el6.x86_64'
然后回到 Xshell 软件,鼠标右键选择粘贴,回车继续。
四、CentOS7 x64 系统安装锐速
因为 CentOS7 X64 系统的内核版本太高,所以没办法直接安装锐速,我们需要对系统内核进行降级操作。按照下图提示,我们首先运行下列命令降级内核版本:
- curl -sSO https://dl.zhujishuo.com/ftp/rskernel.sh && bash rskernel.sh
约等2~3分钟后,重连服务器,运行uname -r ,验证服务器内核是否为 “3.10.0-229.1.2.el7.x86_64”
接下来安装锐速
Install:
- bash <(wget --no-check-certificate -qO- https://github.com/MoeClub/lotServer/raw/master/Install.sh) install
Uninstall:
- bash <(wget --no-check-certificate -qO- https://github.com/MoeClub/lotServer/raw/master/Install.sh) uninstall
Advance Install:
- bash <(wget --no-check-certificate -qO- https://github.com/MoeClub/lotServer/raw/master/Install.sh) uninstallbash <(wget --no-check-certificate -qO- https://github.com/MoeClub/lotServer/raw/master/Install.sh) install [Kernel Version]
调教手册: https://github.com/MoeClub/lotServer/blob/master/lotServer.pdf
-----
使用方法:
启动命令 /appex/bin/lotServer.sh start
停止加速 /appex/bin/lotServer.sh stop
状态查询 /appex/bin/lotServer.sh status
重新启动 /appex/bin/lotServer.sh restart
发表评论: