In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you what to do when installing vmtools in centos 7 or above, I believe most people don't know much about it, so share this article for your reference. I hope you will gain a lot after reading this article. Let's learn about it together.
Vsphere monitors and manages virtual machines in real time through VMTOOLS. Open-vm-tools tools will be included in versions above centos7. We need to uninstall this component and install the vmtools tools that come with vsphere.
Specific problem phenomena:
How to uninstall your own open-vm-tools
# rpm-e open-vm-tools-- nodeps
Then load the system ISO
Install the vmtools that comes with vsphere
Searching for a valid kernel header path... The path "" is not a valid path to the 3.10.0-229.el7.x86_64 kernel headers. Would you like to change it? [yes]
Reason: the header file for kernel was not found.
Resolution bill: there is a required kernel source file in the / usr/src directory, if not, use the command yum-y install kernel-devel
Solution:
Stop the installation of vmtools installation using ctrl+z
Then yum upgrades kernel-devel
Or in Enter the path to the kernel header files for the 3.10.0-229.el7.x86_64 kernel? In this step, enter the directory of the kernel header file, mine is / usr/src/kernels/3.10.0-229.el7.x86_64/include.
At this point, if your version of vmtools is older, it will still prompt not a valid path. This is because the path of the 3.x kernel version.h has changed and vmtools cannot find it.
Use the command sudo ln-s / generated/uapi/linux/version.h / include/linux/version.h
Mine is sudo ln-s / usr/src/kernels/3.10.0-327.el7.x86_64/include/generated/uapi/linux/version.h / usr/src/kernels/3.10.0-327.el7.x86_64/include/linux/version.h
Then run vmtools setup again. The problem no longer occurs.
Meaning of the question:
It can solve the problem that the vm custom script cannot be written to IP when the virtual machine is generated in batch.
The above is all the contents of the article "prompting kernel path problems when installing vmtools in centos 7 and above". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow 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.