Ubuntu 16.04 kernel upgrade steps

Ubuntu 16.04 kernel upgrade steps

1. Environment

Ubuntu 16.04 running on a virtual machine, use the command uname -r to view the current system kernel version

The current version is 4.15.0-45-generic


The kernel to be upgraded is 4.20.2

2. Prepare the necessary materials

Go to https://kernel.ubuntu.com/~kernel-ppa/mainline/ to download the kernel version to be upgraded

Select the corresponding file, mine is amd64


Use command to download (you can also download from the web page)

wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.20.2/linux-headers-4.20.2-042002_4.20.2-042002.201901171620_all.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.20.2/linux-headers-4.20.2-042002-generic_4.20.2-042002.201901171620_amd64.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.20.2/linux-image-unsigned-4.20.2-042002-generic_4.20.2-042002.201901171620_amd64.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.20.2/linux-modules-4.20.2-042002-generic_4.20.2-042002.201901171620_amd64.deb

3. Installation

Use the command sudo dpkg -i *.deb

After the installation is complete, restart the Ubuntu system and use the command uname -r to view the current version number.


Kernel upgrade successful.

4. Problems and Solutions

During the installation process

solve:
You need to install the package libssl1.1. Using the command directly will fail to install. You need to add the source. The update data of this package can only be updated from the source officially approved by Ubuntu.
Go to this website to view https://packages.ubuntu.com/bionic/libssl1.1
Choose the one that corresponds to your system

Add the official source to source.list,

Open the file using the command sudo vi /etc/apt/sources.list

Save and exit, update the source sudo apt-get update , then you can install libssl1.1, enter the command sudo apt-get install libssl1.1 in the terminal, and execute sudo dpkg -i *.deb again to install successfully.

5. Reference Website

https://www.linuxidc.com/Linux/2016-05/131481.htm

This is the end of this article about the steps to upgrade the kernel of Ubuntu 16.04. For more information about upgrading the kernel of Ubuntu 16.04, please search for previous articles on 123WORDPRESS.COM or continue to browse the related articles below. I hope you will support 123WORDPRESS.COM in the future!

You may also be interested in:
  • Sharing of various update methods based on R language
  • R language 3.6.3 installation super detailed tutorial with installation package
  • A very detailed tutorial on using R language and RStudio for big data analysis
  • R language version upgrade complete guide based on Ubuntu

<<:  TypeScript learning notes: type narrowing

>>:  mysql solves time zone related problems

Recommend

Detailed explanation of the use of Vue h function

Table of contents 1. Understanding 2. Use 1. h() ...

View the frequently used SQL statements in MySQL (detailed explanation)

#mysql -uroot -p Enter password mysql> show fu...

Example of how to exit the loop in Array.forEach in js

Table of contents forEach() Method How to jump ou...

Detailed explanation of scheduled tasks for ordinary users in Linux

Preface Ordinary users define crontab scheduled t...

MySQL account password modification method (summary)

Preface: In the daily use of the database, it is ...

Videojs+swiper realizes Taobao product details carousel

This article shares the specific code of videojs+...

Use of VNode in Vue.js

What is VNode There is a VNode class in vue.js, w...

The principle and implementation of js drag effect

The drag function is mainly used to allow users t...

How to implement a binary search tree using JavaScript

One of the most commonly used and discussed data ...

Vue Basics Listener Detailed Explanation

Table of contents What is a listener in vue Usage...

A detailed introduction to HTML page loading and parsing process

The order in which the browser loads and renders H...

Notes on upgrading to mysql-connector-java8.0.27

Recently, an online security scan found a vulnera...

How to restore a database and a table from a MySQL full database backup

In the official MySQL dump tool, how can I restor...

Usage of the target attribute of the html tag a

1: If you use the tag <a> to link to a page,...