Virtual Box – Shared directory on global network (windows, mac, ubuntu)

  1. How to run ubuntu server on virtual box (Windows, Mac, Ubuntu)
  2. How to add local network with Ubuntu Virtual Box Instance.
  3. How to share directory with Ubuntu Virtual Box Instance.

Step 1 – Install Virtual box

Step 2 – Configure local network

add network


create new instance and configure networks adapters

Step 3 – Configure shared directory

connect to your new ubuntu instance and add your user to Virtual Box groups:

sudo apt install virtualbox-guest-x11
adduser {youreuser} vboxsf

reboot ubuntu instance after validate shared directory in /media 

Help links: https://www.jimmybonney.com/articles/configure_virtualbox_shared_folder_apache_virtual_host/

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.