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

VirtualBox installation

2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

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

Briefly record the installation process of VirtualBox, the problems and solutions.

Download the installation package

The latest version is 6.1.18, download link

Perform installation

Double-click to perform the installation, and a fallback may occur during the installation, and then prompt for a serious error. The solution is:

1. Start the service Device Install Service and Device Setup Service. The reason for the error is that you did not check the log information carefully. It is guessed that network card and other devices need to be installed during the installation of VirtualBox.

two。 Clean the registry: download CCleaner, clean up the registration information

Set up a shared folder

1. Add a shared folder: add a shared folder in the virtual machine settings. Select the shared folder of the Windows host, but do not fill the mount point.

two。 Install enhancements:

a. Add a virtual optical drive

b. Mount the CD-ROM drive

Mkdir-p / media/drive

Mount-t auto / dev/cdrom / media/drive/

c. Execute the enhancement installation script

Cd / media/drive/

Sh VBoxLinuxAdditions.run

If there is an error "Could not find the X.Org or XFree86 Window System, skipping" in the installation process, just install the corresponding components.

Yum-y install xorg-x11-drivers xorg-x11-utils

Re-execute this script:

[root@localhost drive] # sh. / VBoxLinuxAdditions.run Verifying archive integrity... All good. Uncompressing VirtualBox 6.1.8 Guest Additions for Linux. VirtualBox Guest Additions installer Removing installed version 6.1.8 of VirtualBox Guest Additions... Copying additional installer modules... Installing additional modules... VirtualBox Guest Additions: Starting. VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel modules. This may take a while. VirtualBox Guest Additions: To build modules for other installed kernels, run VirtualBox Guest Additions: / sbin/rcvboxadd quicksetup VirtualBox Guest Additions: or VirtualBox Guest Additions: / sbin/rcvboxadd quicksetup all VirtualBox Guest Additions: Building the modules for kernel 3.10.0-693.el7.x86_64. VirtualBox Guest Additions: Look at / var/log/vboxadd-setup.log to find out what went wrong VirtualBox Guest Additions: Running kernel modules will not be replaced until the system is restarted

Although the prompt error, in fact, once the installation is successful, enter the / media directory to see the mounted shared folder (starting with sf_).

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

Database

Wechat

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

12
Report