Skip to content
This repository was archived by the owner on Jan 28, 2022. It is now read-only.

developer vm

Markus Zehnder edited this page Dec 6, 2019 · 18 revisions

Ubuntu Developer VM

This guide describes the setup of a Ubuntu VM for YIO Remote development.

Prerequisites

Host system:

  • Dual core processor or better.
  • 8 GB RAM or more recommended.
  • 50 GB of free hard drive space.
    SSD is highly recommended.
  • Internet access.

Software:

A virtualization software is required if the Linux system is not installed on a dedicated PC or as dual boot option.
Recommendations:

  • Oracle VM VirtualBox
    A cross-platform virtualization application and free for personal use.
  • VMware Fusion / Player / Workstation
    A commercial alternative with usually better desktop integration.
  • Windows Hyper-V
    Included in Windows 10 Pro, but can only be used if no other virtualization software is in use!

Other virtualization software will work too of course. We just list what we are using personally.

Download Ubuntu

The minimal recommended Ubuntu version is 18.04 LTS.
Versions 19.04 and 19.10 have been tested as well. If you want long term support without the latest features and software versions then choose the LTS version.

Windows Hyper-V

At the time of writing this guide the only fully working Ubuntu version with Windows Hyper-V was the provided 18.04.3 LTS version within Hyper-V. The newer 19.04 was not working with the advanced features like custom resolution!

Other Virtualization Software

Download the desired Ubuntu Desktop ISO image from https://ubuntu.com/download/desktop.

This guide will use the 19.10 version with VMware Fusion.

Create new Virtual Machine

Create a new virtual machine from the downloaded ISO image.

  1. In VMware select "Install from disc or image" and the creation wizard starts:

    Create a new Virtual Machine

  2. When using VMWare you can choose "Linux Easy Install" to automatically create a user account during installation.
    For this guide we are not using it to show the regular setup process applicable for installations with other virtualization software.

    Linux Easy Install

  3. In the firmware type page use the default "Legacy BIOS" option:

    Choose Firmware Type

  4. In the final wizard step click "Customize" and give a better name to the virtual machine like "YIO Development":

    Customize VM Name

The creation wizard is now complete.
Before starting the new VM some settings should be customized though:

  • Processor cores: at least 2
  • Memory: at least 4 GB

Create a new Virtual Machine

  • Disk space: at least 50 GB

Create a new Virtual Machine

The virtual machine can now be started for the Ubuntu OS installation.

Install Ubuntu

Start the virtual machine to begin the installation process.

  1. Choose your preferred language and click 'Install Ubuntu':

    Create a new Virtual Machine

  2. Choose your keyboard layout and click 'Continue':

    Create a new Virtual Machine

  3. Since we like the development as small as possible select minimal installation:

    Create a new Virtual Machine

  4. Use the default for installation type (hard drive partitioning):

    Create a new Virtual Machine

  5. Select timezone. With a network connection this is usually pre-selected to the correct location:

    Create a new Virtual Machine

  6. Set the user account information

    Create a new Virtual Machine

  7. Finish the installation with 'Restart Now' and press Enter when asked to eject the installation medium.

    Create a new Virtual Machine

  8. After system reboot you are greeted by the login screen.
    Select your account, enter your credentials defined in the setup process.

    Create a new Virtual Machine

  9. At first login a setup wizard is shown.
    Select desired options or skip through the wizard:

    Create a new Virtual Machine

  10. Software updates might be available. Install the updates and restart system if asked to.

The installation of the base Linux system is now finished! Next step is to install the required development tools.

Install Required Software

This topic is currently being created and worked on!

Clone this wiki locally