为Debian 更换Cloud内核

那么 cloud 内核是什么呢?包页面对 linux-image-cloud-amd64 的说明是:This package depends on the latest Linux kernel and modules for use on cloud platforms including Amazon EC2, Microsoft Azure, and Google Compute Engine.

即专门为云平台而优化的,具体可以从 News from the Debian Cloud Team 中一探究竟:A cloud-specific Linux package (linux-image-cloud) allowed us to disable features that are not relevant in cloud environments and enable what is really important. For example, features related to bluetooth and sound support are disabled and some drivers needed by the cloud providers are enabled. To illustrate that, Amazon EC2 uses Elastic Network Adapter (ENA) support and Intel Corporation 82599 Ethernet Controller Virtual Function, and Microsoft Azure uses Mellanox Technologies MT27500/MT27520 Family [ConnectX-3/ConnectX-3 Pro Virtual Function], all of them are enabled by default in linux-image-cloud package (and are not needed at all by regular Debian users). Furthermore, the grub-cloud package was created to provide some specific cloud setup on top of regular grub packages, it installs grub for the PC/BIOS and the EFI-AMD64 architecture.

有些特性是云环境不需要的,像蓝牙、声音的支持,Cloud 内核剔除了这些无用模块的同时添加了几乎只有云平台会用到的驱动程序。在 KVM 虚拟化的机器中,cloud 内核表现良好。


一、更新package

1
sudo apt-get update && sudo apt-get dist-upgrade

二、查看系统现有内核

1
dpkg -l|grep linux-image

三、查看最新内核

1
sudo apt-cache search linux-image

四、安装Cloud内核

1
sudo apt-get install linux-image-cloud-amd64 -y

五、卸载老内核

1
sudo apt-get remove linux-image-amd64

六、更新grub

1
sudo update-grub

七、重启

1
reboot

八、验证是否成功

1
uname -r


风软资源站
风软资源站管理员

软件分享,如沐春风!

  • 声明:根据我国《计算机软件保护条例》第十七条规定:“为了学习和研究软件内含的设计思想和原理,通过安装、显示、传输或者存储软件等方式使用软件的,可以不经软件著作权人许可,不向其支付报酬。”您需知晓本站所有内容资源均来源于网络,仅供用户交流学习与研究使用,版权归属原版权方所有,版权争议与本站无关,用户本人下载后不能用作商业或非法用途,需在24小时之内删除,否则后果均由用户承担责任。
  • 本文地址:https://www.ifengsoft.com/331.html
上一篇:技术帝的最爱 Sublime Text 4.0 Build 4151 绿色特别版
下一篇:网络电报PC版 Telegram v4.9.1 for Windows

留言评论

暂无留言
请先 登录 再评论,若不是会员请先 注册