Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Get the Ubuntu ISO image from ubuntu.com. The recommended version is 16.04.3 LTS (Long Term Support).  You can use the server or desktop edition.  I used the server edition.

Get VirtualBox and VirtualBox Guest Additions

Make sure you have the VirtualBox Guest Additions ISO for your version of VirtualBox.  I'm using VirtualBox 5.01.1628.  Save the Guest Additions ISO on your host computer along with the Ubuntu ISO.  Get the Guest Additions ISO from here:

http://download.virtualbox.org/virtualbox

NOTE: Guest Additions versions prior to 5.1 will not work with Ubuntu 16.04.3.  If you have an earlier version of VirtualBox, you should upgrade to the latest 5.1 version.

Create a new VM in VirtualBox for Ubuntu

...

Host Port: 1022

Guest IP: <leave blank>

Guest Port: 22


Create Shared Folder

This is for Windows users.  If you're using a MAC or a Linux host, things may be quite different.  The shared folder allows you to easily transfer files between the guest VM and the host computer.

...

After selecting the image, start the VM.

Follow the prompts to install Ubuntu.

Proxy Configuration (optional)

...

System Settings → Network → Network proxy

Image Added

apt proxy setting:

...

Acquire::http::Proxy "http://username:password@proxyhost:port";

Reboot the VM.

Install SSH Server

sudo apt update

...

The PuTTY SSH client is popular.  A connection to localhost:1022 (or whatever port you have forwarded) will go to the VM.

Install VirtualBox Guest Additions

...