wordpress logo 修改精準的搜索引擎優(yōu)化
注意:
Ubuntu主線內核由 Ubuntu 內核團隊提供,用于測試和調試目的。
它們不受支持且不適合生產(chǎn)使用。
僅當它們可以解決當前內核遇到的關鍵問題時,才應該安裝它們。
1、手動下載deb文件升級內核
來源:kernel.ubuntu.com/mainline
linux-image-X.Y.Z-generic-*.deb
linux-modules-X.Y.Z-generic-.deb
$ sudo dpkg --install *.deb
$ sudo reboot
2、用apt升級內核(推薦)
來源:Ubuntu 官方倉庫,/etc/apt/sources.list 和 /etc/apt/sources.list.d/中記錄的URL
http://cn.archive.ubuntu.com/ubuntu
升級包括內核的整個系統(tǒng):
$ sudo apt-get update
$ sudo apt-get upgrade
只升級內核:
$ sudo apt-get upgrade linux-image-generic
$ sudo reboot
3、使用第三方工具升級內核
(1)Ukuu
Ubuntu kernel update utility,Gtk GUI和命令行工具,Ukuu19.01版本開始收費
來源:kernel.ubuntu.com
獲取最新主線內核并自動安裝。
(2)Mainline
Mainline (Ubuntu Mainline Kernel Installer) 是免費版 Ukuu 的開源分支
(3)UKTools
git clone https://github.com/usbkey9/uktools & cd uktools & make
來源:kernel.ubuntu.com/~kernel-ppa/mainline/
獲取最新的穩(wěn)定內核并自動安裝
(4)LKU
git clone https://github.com/mtompkins/linux-kernel-utilities.git
update_ubuntu_kernel.sh - download and install a precompiled Ubuntu kernel from kernel.ubuntu.com
compile_linux_kernel.sh - poll www.kernel.org for available kernels and present the user with an xconfig GUI for manually selecting options.
remove_old_kernels.sh ? - purge ALL inactive kernels.
4、通過實時補丁服務升級內核(收費)
好處:不需要重啟
(1)Canonical 實時補丁服務
從https://auth.livepatch.canonical.com/ 獲取一個密鑰
$ sudo snap install canonical-livepatch
$ sudo canonical-livepatch enable your-key
(2)KernelCare 實時補丁
從https://cloudlinux.com/kernelcare-free-trial5 獲取一個30天免費試用密鑰
$ sudo wget -qq -O - https://repo.cloudlinux.com/kernelcare/kernelcare_install.sh | bash
$ sudo /usr/bin/kcarectl --register KEY
?