我爱雪碧
Centos6/7安装Lotserver(锐速)

本文只适用于Centos6/7(Openvz可以直接滚了)!

换核:

#Centos6内核更换为:2.6.32-504.3.3.el6.x86_64
rpm -ivh http://soft.91yun.org/ISO/Linux/CentOS/kernel/kernel-firmware-2.6.32-504.3.3.el6.noarch.rpm
rpm -ivh http://soft.91yun.org/ISO/Linux/CentOS/kernel/kernel-2.6.32-504.3.3.el6.x86_64.rpm --force
#Centos7内核更换为:3.10.0-229.1.2.el7.x86_64
rpm -ivh http://soft.91yun.org/ISO/Linux/CentOS/kernel/kernel-3.10.0-229.1.2.el7.x86_64.rpm --force

查看内核是否安装成功:

rpm -qa | grep kernel

如果显示里面有显示你刚刚安装内核就对了。
sp171119_115620.png

重启VPS,查看内核是否更换成功:

#重启
reboot
#查看当前内核
uname -r

serverSpeeder Install:

wget --no-check-certificate -qO /tmp/appex.sh "https://raw.githubusercontent.com/0oVicero0/serverSpeeder_Install/master/appex.sh" && bash /tmp/appex.sh 'install'

serverSpeeder Uninstall:

wget --no-check-certificate -qO /tmp/appex.sh "https://raw.githubusercontent.com/0oVicero0/serverSpeeder_Install/master/appex.sh" && bash /tmp/appex.sh 'uninstall'

serverSpeeder Advance Install:

wget --no-check-certificate -qO /tmp/appex.sh "https://raw.githubusercontent.com/0oVicero0/serverSpeeder_Install/master/appex.sh" && bash /tmp/appex.sh '{serverSpeeder of Kernel Version}'

使用方法:

启动命令 /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

各类错误:

提示错误:wget: command not found,系统太干净了连wget都没有安装。

yum install -y wget

提示错误:I can not find the server pubilc Ethernet!出现这个错误,说明你的系统没有安装 ifconfig ,这导致了 脚本无法获取网卡绑定的IP,一般是CentOS 7系统出现这个问题,安装这个工具后重新执行脚本即可。

yum -y install net-tools

Github">参考自:Github

0 评论