Skip to content

Instantly share code, notes, and snippets.

Mounting VirtualBox shared folders on Ubuntu Server 16.04 LTS

This guide will walk you through steps on how to setup a VirtualBox shared folder inside your Ubuntu Server guest. Tested on Ubuntu Server 16.04.3 LTS (Xenial Xerus)

Steps:

  1. Open VirtualBox
  2. Right-click your VM, then click Settings
  3. Go to Shared Folders section
  4. Add a new shared folder
  5. On Add Share prompt, select the Folder Path in your host that you want to be accessible inside your VM.
<?php
/**
* @author Raj KB<magepsycho@gmail.com>
* @website http://www.magepsycho.com
* @blog http://www.blog.magepsycho.com/sandbox-script-quick-testing-magento2/
*/
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
@natrod
natrod / gist:3034c204745b1610a19d
Created December 30, 2015 11:50 — forked from klein0r/gist:5441524
Magento Tips, Tricks and Snippets