@ユメイ6 年前
03/8
07:09
更新4.9.0内核 sudo yum update -y sudo rpm -ivh http://mirrors.gigenet.com/gigenet/elrepo-archive/kernel/el7/x86_64/RPMS/kernel-ml-4.9.0-1.el7.elrepo.x86_64.rpm --force --nodeps sudo rpm -ivh http://mirrors.gigenet.com/gigenet/elrepo-archive/kernel/el7/x86_64/RPMS/kernel-ml-devel-4.9.0-1.el7.elrepo.x86_64.rpm --force --nodeps yum remove kernel-headers sudo rpm -ivh http://mirrors.gigenet.com/gigenet/elrepo-archive/kernel/el7/x86_64/RPMS/kernel-ml-headers-4.9.0-1.el7.elrepo.x86_64.rpm --force --nodeps 设置默认启动 sudo grub2-set-default 0 sudo grub2-mkconfig 自动删除多余内核 yum remove $(rpm -qa | grep kernel | grep -v $(uname -r)) 查看已安装内核 rpm -qa | grep kernel 一键更换内核 wget -O tcp.sh "https://github.com/ylx2016/Linux-NetSpeed/raw/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh 一键锐速 https://github.com/1265578519/lotServer https://github.com/fei5seven/lotServer/blob/master/README.md 使用方法: 启动命令/appex/bin/lotServer.sh start
停止加速/appex/bin/lotServer.sh stop
状态查询/appex/bin/lotServer.sh status
重新启动/appex/bin/lotServer.sh restart
CentOS7添加开机启动 chmod +x /etc/rc.d/rc.local echo "/appex/bin/lotServer.sh start" >> /etc/rc.local
Debian/Ubuntu系统:
- chmod +x /etc/rc.local
- sed -i ‘$d’ /etc/rc.local
- echo -e “/appex/bin/serverSpeeder.sh start” >> /etc/rc.local
- echo -e “exit 0” >> /etc/rc.local