In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article is about how to install virtualbox enhancements on linux systems. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
1. Click menu bar device-> assign CD-ROM-> Select a virtual CD, locate the VBoxGuestAdditions.iso in the VirtualBox installation directory, and load the image.
two。 Start the Linux system and log in as root
3. Execute the mount command to mount the virtual CD to / mnt/cdrom, or create it first if you don't have a cdrom directory.
The code is as follows:
Mkdir / mnt/cdrom
Mount-t auto-r ro / dev/cdrom / mnt/cdrom
4. Copy the script to the / tmp directory
The code is as follows:
Cd / mnt/cdrom
Cp VBoxLinuxAdditions.run / tmp
Cd / tmp
Chmod axix VBoxLinuxAdditions.run
5. The above script needs to install tools such as gcc,make,kernel-devel and development kits, and can be executed (here, please select the installation tools according to the actual system, CentOS uses yum, others please choose separately)
The code is as follows:
Yum install-y gcc gcc-devel gcc-c++ gcc-c++-devel make kernel-devel
6. Perform installation (Desktop support is not installed here)
The code is as follows:
Sh. / VBoxLinuxAdditions.run-noexec-nox11
7. Restart the system
The code is as follows:
Shutdown-r now
8. Add a shared directory
Menu Settings-> shared folders-> add folders and set related paths and permissions
9. Mount a shared folder
If you choose auto-mount, you do not need to perform the following steps. Shared folders are automatically hung to / media/sf_share
Pass through
The code is as follows:
Mount
You can view the mount list
You will see the following style:
The code is as follows:
Share on / media/sf_share type vboxsf (gid=500,rw)
It means that the automatic mount is successful.
The code is as follows:
Mkdir / mnt/share
Mount-t vboxsf share / mnt/share
Thank you for reading! This is the end of the article on "how to install virtualbox enhancements in the linux system". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it out for more people to see!
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.