一、安装:
wget --no-check-certificate -qO /tmp/appex.sh "https://raw.githubusercontent.com/0oVicero0/serverSpeeder_Install/master/appex.sh" && bash /tmp/appex.sh 'install'
二、更换内核方法:
(一)CentOS系统更换内核
1、CentOS 6 32位系统更换内核为:2.6.32-504.el6
rpm -ivh http://vault.centos.org/6.6/os/i386/Packages/kernel-firmware-2.6.32-504.el6.noarch.rpm --nodeps --force
rpm -ivh http://vault.centos.org/6.6/os/i386/Packages/kernel-2.6.32-504.el6.i686.rpm --force
2、CentOS 6 64位系统更换内核为:2.6.32-642.el6.x86_64
rpm -ivh http://vault.centos.org/6.8/os/x86_64/Packages/kernel-firmware-2.6.32-642.el6.noarch.rpm --nodeps --force
rpm -ivh http://vault.centos.org/6.8/os/x86_64/Packages/kernel-2.6.32-642.el6.x86_64.rpm --force
3、CentOS 7 系统更换内核为: 3.10.0-229.1.2.el7.x86_64
rpm -ivh http://vault.centos.org/7.0.1406/os/x86_64/Packages/kernel-3.10.0-123.el7.x86_64.rpm --force
4、查看内核是否更换成功
rpm -qa | grep kernel
如果成功,重启VPS即可。
(二)Debian系统更换内核
debian 8 64更换内核为3.16.0.4-deb内核
1、安装新内核
wget http://security-cdn.debian.org/pool/updates/main/l/linux/linux-image-3.16.0-4-amd64_3.16.43-2+deb8u5_amd64.deb
dpkg -i linux-image-3.16.0-4*.deb
2、删除就内核
dpkg -l|grep linux-image
会显示所有内核,删除除3.16.0.4以外的
apt-get remove 内核
更新系统引导
update-grub
重启即可
三、强制安装指定内核版本的锐速:
查看内核 uname -r,发现版本号为3.10.0-514.2.2.el7.x86_64
查看版本库:https://github.com/0oVicero0/serverSpeeder_kernel/blob/master/serverSpeeder.txt,找个最接近的
开始安装
wget --no-check-certificate -O appex.sh https://raw.githubusercontent.com/0oVicero0/serverSpeeder_Install/master/appex.sh && chmod +x appex.sh && bash appex.sh install '3.10.0-123.el7.x86_64'
查看是否启动:/appex/bin/serverSpeeder.sh start
如果不能,换个版本,继续重复以上步骤。
四、卸载:
wget --no-check-certificate -qO /tmp/appex.sh "https://raw.githubusercontent.com/0oVicero0/serverSpeeder_Install/master/appex.sh" && bash /tmp/appex.sh 'uninstall'
五、使用:
启动命令 /appex/bin/serverSpeeder.sh start
停止加速 /appex/bin/serverSpeeder.sh stop
状态查询 /appex/bin/serverSpeeder.sh status
更新许可 /appex/bin/serverSpeeder.sh renewLic
重新启动 /appex/bin/serverSpeeder.sh restart
特征: 0.#0 Only for Linux.