Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the method of installing centos enhancements in virtualbox6

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

Most people do not understand the knowledge points of this article, "what is the way to install centos enhancements in virtualbox6?" so the editor summarizes the following contents, detailed contents, clear steps, and has a certain reference value. I hope you can get something after reading this article. Let's take a look at this "virtualbox6 installation centos enhancement method is what" article.

Install the corresponding kernelyum-y upgrade kernel kernel-develyum install gcc gcc-c++# to see if the two kernel versions are consistent ls / usr/src/kernelsuname-r

Pay attention to the need to ensure that the network can be connected

Kernel head is still not found after installation

We found that although we have installed the corresponding version of Kernel, we still reported that kernel head is missing. We can install kernel head at this time.

VirtualBox Guest Additions: Kernel headers not found for target kernel 4.19.0-6-amd64. Please install them and execute / sbin/rcvboxadd setup

After this installation is completed, you will find that kernel head is no longer missing in the log of the installation output, but it still fails. The log after the failure says that the following two app need to be installed.

The yum install kernel-headers kernel-devel gcc make-yyum install libelf-dev libelf-devel-yyum install elfutils-libelf-devel log file does not report errors, but still lacks permissions

After the correction, there is no error in the log, and there is only one mount failure in the output:

ValueError: File context for / opt/VBoxGuestAdditions-6.30.1/other/mount.vboxsf already defined

Execute under root user:

Semanage fcontext-d / opt/VBoxGuestAdditions-/other/mount.vboxsfrestorecon / opt/VBoxGuestAdditions-/other/mount.vboxsf black screen after entering password after installing the enhanced feature

Turn off the virtual machine, open the Settings tab, set the video memory of the virtual video card to 64MB, and set the video card controller to VBoxVGA.

Note that the installation cannot be repeated.

I didn't notice the first success, and then I saw it from other bloggers that this means that it has been installed successfully.

The above is the content of this article on "what is the method for virtualbox6 to install centos enhancements". I believe we all have a certain understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about the relevant knowledge, please 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.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report