Centos更换内核
1.CentOS6 内核更换为: 2.6.32-504.3.3.el6.x86_64
rpm -ivh http://soft.91yun.pw/ISO/Linux/CentOS/kernel/kernel-firmware-2.6.32-504.3.3.el6.noarch.rpm
rpm -ivh http://soft.91yun.pw/ISO/Linux/CentOS/kernel/kernel-2.6.32-504.3.3.el6.x86_64.rpm --force
2.CentOS7 内核更换为: 3.10.0-229.1.2.el7.x86_64
rpm -ivh http://soft.91yun.pw/ISO/Linux/CentOS/kernel/kernel-3.10.0-229.1.2.el7.x86_64.rpm --force
3.查看内核是否安装成功
rpm -qa | grep kernel
4.安装成功后重启服务器
reboot
安装LotServer
Centos
如果没安装wget
需先安装
yum install wget -y
当出现
ifconfig: command not found
报错提示时记得安装
yum install net-tools
1.常规自动安装
bash <(wget --no-check-certificate -qO- https://github.com/iiiiiii1/LotServer/raw/master/Install.sh) install
2.指定内核安装
bash <(wget --no-check-certificate -qO- https://github.com/iiiiiii1/LotServer/raw/master/Install.sh) install <Kernel Version>
3.完全卸载
bash <(wget --no-check-certificate -qO- https://github.com/iiiiiii1/LotServer/raw/master/Install.sh) uninstall
4.使用方法
# 启动命令:
/appex/bin/lotServer.sh start
# 停止加速:
/appex/bin/lotServer.sh stop
# 状态查询:
/appex/bin/lotServer.sh status
#重新启动:
/appex/bin/lotServer.sh restart
偶然发现这里。你好,陌生人。