Ubuntu18.04服务器网络优化——锐速安装简明教程

文章作者:技术宅 | 2021-10-25
字体大小:

虽然现在已经是2150年了,但是人们对锐速的热情依旧不减啊。究其原因,还是因为锐速的确是单边加速中一枝独秀的产品,他针对网络环境较差丢包较高的服务器优化效果异常显著

Ubuntu18.04安装锐速的思路和Ubuntu16.04大致相同,但是又有些许差异(主要是不好意思再用16.04的教程去糊弄人了2333)闲话少说,开动w

 

前提条件:
1、服务器系统: Ubuntu18.04 x64 (x86_64)
2、服务器内存:≥256MB
3、虚拟化架构:KVM、Hyper-V

1、防止系统过于精简,先更新系统软件源 :

 
1 sudo apt-get update -y

 

root@ubuntu:~# sudo apt-get update -y

2、安装wget组件,防止出现 wget: command not found 的错误

 
1 sudo apt-get install -y wget

 

root@ubuntu:~# sudo apt-get install -y wget

3、查看当前系统内核,并记载下来:

 
1 dpkg -l|grep linux-image

 

root@ubuntu:~# dpkg -l|grep linux-image

 

4、下载需要安装的新版本内核:

 
1
2
3
wget https://soft.mengclaw.com/Kernel/Ubuntu_Kernel/4.4.0-47/linux-headers-4.4.0-47_4.4.0-47.68_all.deb
wget https://soft.mengclaw.com/Kernel/Ubuntu_Kernel/4.4.0-47/linux-headers-4.4.0-47-generic_4.4.0-47.68_amd64.deb
wget https://soft.mengclaw.com/Kernel/Ubuntu_Kernel/4.4.0-47/linux-image-4.4.0-47-generic_4.4.0-47.68_amd64.deb

 

root@ubuntu:~# wget https://soft.mengclaw.com/Kernel/Ubuntu_Kernel/4.4.0-47/linux-headers-4.4.0-47_4.4.0-47.68_all.deb

root@ubuntu:~# wget https://soft.mengclaw.com/Kernel/Ubuntu_Kernel/4.4.0-47/linux-headers-4.4.0-47-generic_4.4.0-47.68_amd64.deb

root@ubuntu:~# wget https://soft.mengclaw.com/Kernel/Ubuntu_Kernel/4.4.0-47/linux-image-4.4.0-47-generic_4.4.0-47.68_amd64.deb

5、安装新内核:

 
1 sudo dpkg -i linux-headers-4.4.0*.deb linux-image-4.4.0*.deb

 

root@ubuntu:~# sudo dpkg -i linux-headers-4.4.0*.deb linux-image-4.4.0*.deb

6、卸载不受支持的内核版本,具体版本号,以步骤3中的记载的内核版本为准:
sudo apt-get purge -y 内核1 内核2 内核n

root@ubuntu:~# sudo apt-get purge -y linux-image-4.15.0-20-generic linux-image-virtual

卸载内核时,会提示你是否终止删除内核的行为(如下图),这个需要你选择 <No> (键盘方向键 选择,回车键 确认)。
 

7、更新 grub引导

1 sudo update-grub

 

root@ubuntu:~# sudo update-grub

8、重启VPS服务器

1 reboot

 

root@ubuntu:~# reboot

重启服务器后,如果能开机,那么恭喜你,你更换内核的操作已经完成,下面直接安装锐速即可

9、安装LotServer(感谢Vicer提供的脚本*1):

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

 

root@ubuntu:~# wget –no-check-certificate -qO /tmp/appex.sh “https://raw.githubusercontent.com/0oVicero0/serverSpeeder_Install/master/appex.sh” && bash /tmp/appex.sh ‘install’

效果对比 未安装锐速:
 

使用锐速:
 

锐速使用方法:
启动命令 /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

暂时关闭评论!
Copyright © 2019 技术宅 版权所有 关于我们| 法律声明| 免责声明| 广告服务| 联系我们| 投稿| 充值| 豫ICP备2023024979号