In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces "how to upgrade centos Docker to kernel 3.10 before installation". In daily operation, I believe many people have doubts about how to upgrade centos Docker to kernel 3.10 before installation. Xiaobian consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts of "how to upgrade centos Docker to kernel 3.10 before installation". Next, please follow the editor to study!
First of all, my virtual machine system is Centos 6.5.
1. The problem occurs in ESXI 6.0. Install kernel-3.10.5 first, then install devel
2. ESXI 5.5 does not have this problem. Install devel first, then install kernel-3.10.5
later
3. The problem does not occur in ESXI 6.0. Install devel first, then install kernel-3.10.5
All I operate is a virtual machine, but I don't know how to do it on a real machine.
Everyone must remember the installation steps, or else it will be a pit. Trust me, the lesson of blood. I'll show you what happened to me! There is no initrd.img add-on, it is useless for me to add it manually! This is when I reboot the 2.6.32 kernel to view this file. In fact, when I boot, I can see only two items.
Rpm-ivh kernel-ml-aufs-devel-3.10.5-3.el6.x86_64.rpm
Rpm-ivh kernel-ml-aufs-3.10.5-3.el6.x86_64.rpm
Download the kernel package and install it
The code is as follows:
Check your own kernel
Uname-r
2.6.32-431.el6.x86_64
Due to my incompetence, I can't compile the kernel, so I can only find a place to download it. The download address is attached:
Https://www.yisu.com/softs/499066.html
Kernel-ml-aufs-3.10.5-3.el6.x86_64.rpm
Kernel-ml-aufs-devel-3.10.5-3.el6.x86_64.rpm
Decompression
Gunzip kernel-ml-aufs-3.10.5-3.el6.x86_64.rpm.gz
Gunzip kernel-ml-aufs-devel-3.10.5-3.el6.x86_64.rpm.gz
Install the RPM package
Rpm-ivh kernel-ml-aufs-3.10.5-3.el6.x86_64.rpm.gz kernel-ml-aufs-devel-3.10.5-3.el6.x86_64.rpm.gz
After the installation, modify / etc/grub.conf and restart
The code is as follows:
Vim / etc/grub.conf
Change default=1 to default=0
Indicates that the content under the first title is the kernel started by default (usually the newly installed kernel is in the first location).
As you can see in the following figure, the kernel has been upgraded to 3.10.5
Restart the system after modification, because the system is not recognized yet. You can try uname-r.
OK, at this time, the system has been rebooted. Let's take a look at the kernel. It becomes 3.10.5.
Download the epel source and install docker
The code is as follows:
The latter part is relatively simple, so I won't go into details. If you install docker, you can refer to the article at the end of my article.
Wget http://mirrors.yun-idc.com/epel/6/x86_64/epel-release-6-8.noarch.rpm
Rpm-ivh epel-release-6-8.noarch.rpm
Yum clean all
Yum-y install docker-io
Service docker start
Docker-d
At this point, the study on "how to upgrade centos Docker to kernel 3.10 before installation" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
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.