1. 换内核
首先需要确认自己的内核版本,输入命令uname -a,输出中有i686则为32位,有x86_64则为64位。
下载32位内核:
wget http://ftp.scientificlinux.org/linux/scientific/6.5/i386/updates/security/kernel-2.6.32-504.el6.i686.rpm
下载64位内核:
wget http://ftp.scientificlinux.org/linux/scientific/6.5/x86_64/updates/security/kernel-2.6.32-504.el6.x86_64.rpm
以32位系统为例下载后可以rpm -ivh kernel-2.6.32-504.el6.i686.rpm --force降级内核,然后reboot重启系统即可
注意:如果出现error: Failed dependencies: kernel-firmware >= 2.6.32-504.el6 is needed by kernel-2.6.32-504.el6.x86_64这样的错误,需要更新firmware
下载kernel-firmware-2.6.32-504.el6.noarch.rpm:wget ftp://mirror.switch.ch/pool/4/mirror/scientificlinux/6.3/x86_64/updates/security/kernel-firmware-2.6.32-504.el6.noarch.rpm
然后执行rpm -Uvh kernel-firmware-2.6.32-504.el6.noarch.rpm
你会发现进度条
再执行rpm -qa | grep kernel-firmware
发现firmware安装成功。
这下我们再执行rpm -ivh kernel-2.6.32-504.el6.i686.rpm --force
来装内核就成功了,随后reboot重启系统即可
2. 安装锐速:wget -N --no-check-certificate https://raw.githubusercontent.com/91yun/serverspeeder/master/serverspeeder-all.sh && bash serverspeeder-all.sh
3. 完工