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

mysql wildcard (sql advanced filtering)

Table of contents First, let's briefly introd...

Detailed explanation of MySQL alter ignore syntax

When I was at work today, the business side asked...

How to expand the disk size of a virtual machine

After Vmvare sets the disk size of the virtual ma...

Bootstrap 3.0 study notes grid system principle

Through the brief introduction in the previous tw...

Introduction and analysis of three Binlog formats in MySQL

one. Mysql Binlog format introduction Mysql binlo...

Solve the problem of installing Theano on Ubuntu 19

Solution: Directly in the directory where you dow...

9 great JavaScript framework scripts for drawing charts on the web

9 great JavaScript framework scripts for drawing ...

Simple implementation of Mysql add, delete, modify and query statements

Simple implementation of Mysql add, delete, modif...

Detailed explanation of JavaScript's built-in Date object

Table of contents Date Object Creating a Date Obj...

MySQL data operation-use of DML statements

illustrate DML (Data Manipulation Language) refer...

Implementation of vue+drf+third-party sliding verification code access

Table of contents 1. Background 2. Verification p...