In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly shows you the "sample analysis of host-only network and file sharing in Virtual Box", which is easy to understand and well-organized. I hope it can help you solve your doubts. Let me lead you to study and study the "sample analysis of host-only network and file sharing in Virtual Box".
Virtual Box's host-only network
Host-only can be used to establish an internal local area network in VirtualBox, and it also enables the host to connect to the virtual machine system with SSH.
Preparatory work:
Install host system: windows8-64-bit Chinese
Install VirtualBox:4.1.10 Chinese
Install virtual system in virtual machine: ubuntu-desktop 32-bit Chinese
The steps are as follows:
1. Set the network mode to host-only in the virtual system
Start the virtual system.
two。 Open the host network, set up network sharing, and choose to share to VirtualBox Host-Only Network
At this time, it will let you choose whether to set Host-only to a private network ip. Here is 192.168.137. Yes.
3. In the virtual system, you can choose whether to set IP for DHCP or manually, and make sure that the settings of DNS are the same as those of external hosts. I chose the manual setting of 192.168.137.101 and 192.168.137.102 respectively to test whether it is possible to ping each other.
Ping succeeded, but the reality was redirected at 192.168.137.1.
Test whether you can access the public network:
Success.
VirtualBox file sharing
1. Create a folder to be shared in Windows8, such as E:\ boxshare
two。 Choose to install enhancements in the virtual system directory device that VirtualBox is running
Then you will see an optical drive boot in the virtual system:
Run the contents, and after the installation is successful, select the allocated data space in the directory device, and then you will have the following screen
Add a data space to boxshare
3. Create a directory under the directory / mnt of the virtual system, for example
Sudo mkdir / mnt/boxshare
Set the shared folder to this directory
Sudo mount-t vboxsf boxshare / mnt/boxshare
This allows you to share folders.
Current problem: the shared folder disappears after a period of time. You must rerun the command: sudo mount-t vboxsf boxshare / mnt/boxshare
The above is all the content of the article "sample Analysis of host-only Network and File sharing in Virtual Box". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
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.