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

Example Analysis of installing enhanced functions for VirtualBox in Linux Development Environment

2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article shares an analysis of examples of installing enhancements for VirtualBox in Linux development environments. Xiaobian thinks it is quite practical, so share it with everyone for reference. Let's follow Xiaobian and have a look.

VirtualBox installation CentOS, and then install enhancements to share folders, pasteboards and mouse seamless movement, the main steps are as follows:

1、yum -y update

2. yum -y install g++gcc gcc-c++ make kernel-* #mainly because these software are not installed in the installation enhancement tooltips

3. yum -y install bzip2* #enhancement tool uses bzip2 compression

4. Restart the virtual machine

[root@localhost ~] reboot

5. Click [Device]->[Assign CD]->[Select Virtual Disk]->[Navigate to VirtualBox Installation Directory]->[Select VBoxGuestAdditions.iso] in VirtualBox menu bar. At this time, some information may be prompted. Ignore it. Click [Force Release]. Do not click [Cancel].

6. Mount the CD drive to the tmp directory!!! The core steps!!

6.1)[root@localhost ~]mount /dev/cdrom /tmp/ #This will prompt that the directory mount is successful and ready-only

6.2)[root@localhost ~] cp -r /tmp/ /mnt/ #Copy the mount directory to another folder so that you can write

6.3) Modify all files under/mnt/tmp/directory to writeable permissions

6.4)[root@localhost ~] cd /mnt/tmp

6.5)[root@localhost tmp] ./ VBoxLinuxAdditions.run #Perform Installation

7, prompt installation success, and then restart the system, success!

8. In fact, there is a simpler method: first extract VBoxGuestAdditions.iso to a local folder, upload it to the Linux environment via FTP, and then execute [./] VBoxLinuxAdditions.run] command, the effect is the same!

9. Attach some operation pictures:

Thank you for reading! About "Linux development environment for VirtualBox installation enhancement example analysis" This article is shared here, I hope the above content can have some help for everyone, so that everyone can learn more knowledge, if you think the article is good, you can share it to let more people see it!

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