In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
Today, the editor will share with you the relevant knowledge points about how to modify the kernel in linux. The content is detailed and the logic is clear. I believe most people still know too much about this, so share this article for your reference. I hope you can get something after reading this article. Let's take a look at it.
Linux kernel modification method: 1, use the "yum install epel-release-y" command to install the epel software package; 2, use the "yum install kernel" command to install the latest version of the kernel; 3, use the "sudo reboot" command to restart the computer.
The operating environment of this tutorial: linux7.3 system, Dell G3 computer.
How to modify kernel 1.1 and upgrade kernel version in linux
Check the version of the kernel
Uname-r
Two ways to upgrade the kernel
1.2 yum installation
1. Install epel software package
Yum install epel-release-y
2. Install the latest kernel
Yum install kernel1.3 source code compilation installation kernel 1.3.1 download and extract the kernel from the dependency package yum install gcc gcc-c++ make ncurses-devel openssl-devel elfutils-libelf-devel-y 1.3.2 required for installation
Inux kernel download
Decompress:
Tar xvf linux-5.6.7.tar.xz-C / usr/src/kernels/1.3.3 configure kernel compilation parameters
1. Execute the following command
Cd / usr/src/kernels/linux-5.6.7/
Make menuconfig
2. Error occurred: inux- kernel import configuration lexer.lex.c
3. Solution:
Yum install bison-yyum install flex-y 1.3.4 use the current system kernel configuration
1. Enter File Systems to make the kernel support NTFS as a file system.
2. Enter the DOS/FAT/NT file system.
3. The kernel supports NTFS write operation.
4. Save by default, and then exit the operation all the way
5. Check the specific parameters of the kernel and add a .config file.
6. Go to the / boot directory to view the current kernel, overwrite the config, and then rename it to .config
Cd / bootcp config-3.10.0-1062.18.1.el7.x86_64 / usr/src/kernels/linux-5.6.7/.config
7. Compile and install the kernel
Compile kernel: make-j2 all
Install the kernel:
Make modules_install (install kernel module) make install
8. Check the kernel version
These are all the contents of the article "how to modify the Kernel in linux". Thank you for reading! I believe you will gain a lot after reading this article. The editor will update different knowledge for you every day. If you want to learn more knowledge, please pay attention to the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.