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

Centos7.3 (version 1611) install enhanced tools (VirtualBox)

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

1. Description of the scene:

Virtual software uses VirtualBox, virtual operating system uses CentOs7.3, and enhancement tools are installed in the virtual machine after minimal installation.

2. Installation method:

First of all, install the graphical interface or the installation will go wrong.

Mount the enhanced toolkit mount-t auto / dev/cdrom / mnt

Note: if you do not see the enhancement tool file in the / dev/cdrom directory, you can force it to be mounted using the above command.

Enter the / mnt directory and you can see the enhanced tool file, indicating that the mount is successful.

[root@localhost ~] # ls / mnt

32Bit cert VBoxSolarisAdditions.pkg

64Bit OS2 VBoxWindowsAdditions-amd64.exe

AUTORUN.INF runasroot.sh VBoxWindowsAdditions.exe

Autorun.sh VBoxLinuxAdditions.run VBoxWindowsAdditions-x86.exe

2. Before installing the enhancement tools, you need to install the kernel and gcc components.

Yum install kernel-devel gcc

After the installation is complete, check the kernel version

Ls/ usr/src/kernels/

Set environment variabl

Export KERN_DIR=/usr/src/kernels//3.10.0-514.2.2.el7.x86_64

3. Install the enhancement tools and run the VBoxLinuxAdditions.run file.

. / VBoxLinuxAdditions.run

During installation, you can view the installation log and open another terminal.

Tail-f / var/log/vboxadd-install

4. Restart the machine to take effect.

Reboot

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

Servers

Wechat

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

12
Report