

Accessing Windows networking apps from Linux (host IP) If you are building a networking app (for example an app running on a NodeJS or SQL server) in your Linux distribution, you can access it from a Windows app (like your Edge or Chrome internet browser) using localhost (just like you normally would). Accessing Linux networking apps from Windows (localhost) Huzzah! The shared folder is great for transferring files from Windows 10 to the Ubuntu virtual machine and vice versa.There are a few considerations to be aware of when working with networking apps, whether you are accessing a Linux networking app from a Windows app or accessing a Windows networking app from a Linux app, you may need to identify the IP address of the virtual machine you are working with, which will be different than the IP address of your local physical machine. Step 7) Change directory into the shared folder and see all the shared files. Shared was the name of the Windows 10 shared folder, and I called the Ubuntu shared folder, ~/shared-windows10, to differentiate between the two. sudo mount -t vboxsf shared ~/shared-windows10 We mount the shared folder on Windows 10 to the ~/shared-windows10 folder. You make a directory on the Ubuntu virtual machine that will act as Ubuntu’s shared folder. Step 6) Create a shared folder on Ubuntu virtual machine and mount the shared folder. I checked off Read-only, Auto-mount, and Make Permanent.

Step 5) Click on the Devices tab and click Shared Folder Settings… and integrate the Windows 10 shared folder.Ĭlick on the Folder Path list and find your shared folder on Windows 10. Now, we can install and run the Guest Additions CD.

sudo apt-get install make gcc linux-headers-$(uname -r) We should install necessary packages if they have not already been installed. Mount: block device /dev/sr0 is write-protected, mounting read-only Now, we can mount the Guest Additions CD to the /media/cdrom folder. The Guest Additions CD contains a file system type that we need to use.
:max_bytes(150000):strip_icc()/003_run-ubuntu-within-windows-virtualbox-2202098-a01a7a5d308d4bf285f1b4a4e6197403.jpg)
We make a directory to mount the Guest Additions CD. Step 4) Open up a terminal and install the Guest Additions CD. Go to Devices tab and click Insert Guest Additions CD image… Step 3) Boot your Ubuntu virtual machine. Step 2) Make sure that you have an empty optical drive for your virtual machine. I’ll put a bunch of stuff inside the shared folder to be used by the Ubuntu virtual machine. I’ll create a folder called shared on my Windows 10 Desktop. Step 1) Make a folder to be shared on your Windows 10 host operating system. I’m assuming that you have installed the Ubuntu virtual machine already and ready to set up the shared folder. Now, I want to be able to share folders from my Ubuntu to Windows 10 and vice versa. One of my virtual machines has Ubuntu 14.04 64 bit operating system. I have a Windows 10 laptop, and I am running VirtualBox.
