In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Installing VirtualBox has been messing around all night to share folders! A lot of information on the Internet is not very comprehensive, here is a comprehensive summary, if you have other questions, you can leave a message and exchange a lot.
VirtualBox download address, version 5.1.2
Set the shared file path
Click Virtual Machine Settings-> Select shared folder
(figure 1 sets the shared folder)
Set the shared folder path
1 Select path 2 fill in the custom share name (corresponding to the mount path later) 3 set up automatic mount / fixed allocation
(figure 2 sets shared file path properties)
Install VirtualBox Enhancement tools
Install the necessary packages first
Execute the following command:
Yum install-y gcc gcc-devel gcc-c++ gcc-c++-devel make kernel kernel-devel
After installation, restart the virtual machine:
Shutdown-r now
Click Settings-> Click to install enhancements.
(figure 3 Click Settings)
Automatically install or enter the directory / media/VBOXADDITIONS_5.1.2_108956, execute the command
. / VBoxLinuxAddtion.run
Get the output
[root@localhost VBOXADDITIONS_5.1.2_108956] #. / VBoxLinuxAdditions.run Verifying archive integrity... All good.Uncompressing VirtualBox 5.1.2 Guest Additions for Linux.VirtualBox Guest Additions installerRemoving installed version 5.1.2 of VirtualBox Guest Additions...vboxadd.sh: Stopping VirtualBox Additions.vboxadd-service.sh: Stopping VirtualBox Guest Addition service.Copying additional installer modules... Installing additional modules... vboxadd.sh: Building Guest Additions kernel modules.vboxadd.sh: You should restart your guest to make sure the new modules are actually used.vboxadd.sh: Starting the VirtualBox Guest Additions.You may need to restart The the Window System (or just restart the guest system) to enable the Guest Additions.
That is, the installation is successful!
Mount a shared folder
Switch to root user input mount command:
Sudo mount-t vboxsf shared_file / home/xingoo/shared
Note that the format is
Sudo mount-t vboxsf shared folder name (set on the settings page) mounted directory
Then go to / home/xingoo/shared, and you can see the files in windows.
(figure 4 windows file)
[root@localhost shared] # lltotal 337516-rwxrwxrwx. 1 root root 149599799 Aug 15 21:29 apache-hive-2.1.0-bin.tar.gz-rwxrwxrwx. 1 root root 196015975 Aug 15 21:31 hadoop-2.6.4.tar.gz
If the host is the content that windows often needs to copy back and forth, you can open the "shared pasteboard" by following the following steps:
Device-- > shared pasteboard-- > two-way
The above is the whole content of this article, I hope it will be helpful to your study, and I also hope that you will support 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.
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.