Prepare Virtual Machine

Overview

In this section, you will initialize a virtual machine instance on an on-premises virtualization environment with the Ubuntu Desktop operating system.

This guide will walk you through deploying an instance on a VMware Workstation virtualization environment on on-premises infrastructure.

Prepare Instance on VMware Workstation Virtualization Environment

Note: To complete this step, you need to install VMware Workstation Pro. Although this software is paid, you can use it for free during the first 30 days.

  1. Start by installing VMware Workstation Pro from here.

  2. Next, download the Ubuntu operating system from here. Click on check out our alternative downloads to see other ways to download Ubuntu Desktop such as torrent, mirror, or network installer. Recommended Ubuntu versions:

    • Ubuntu 20.04 LTS (Kernel 5.4+)
    • Ubuntu 22.04.5 LTS (Kernel 6.8+) VMware Workstation VMware Workstation
  3. Open VMware Workstation and select Create a New Virtual Machine.

    VMware Workstation

  4. At the Welcome to the New Virtual Machine Wizard screen, select Typical (recommended) and click Next.

    VMware Workstation

  5. At the Guest Operating System Installation screen, select Image file (.iso) of the version you downloaded. Next, click Browse to browse and select the Ubuntu Desktop ISO file you downloaded. After selection, click Next to continue the virtual machine creation process.

    VMware Workstation

  6. At the Easy Install Information screen, enter Username as fcajstudent and set the corresponding password.

    VMware Workstation

  7. Name the instance at the Name the Virtual Machine screen, for example: Ubuntu. You can also specify the storage directory or keep the default settings and click Next.

    VMware Workstation

  8. Set the storage capacity at the Specify Disk Capacity screen, enter the value 20GB.

    VMware Workstation

  9. Review the parameters and click Finish to start the installation process.

    VMware Workstation

  10. Complete the Ubuntu operating system installation on VMware.

    VMware Workstation

  11. Perform user configuration.

    • At the Updates and other software screen of Ubuntu Desktop, select Minimal installation and click Continue.

    VMware Workstation

    • At the Installation type screen, select Erase disk and install Ubuntu and click Install Now. At the Write the changes to disks? dialog, click Continue to confirm. VMware Workstation VMware Workstation
    • At the Where are you? screen, select the time zone and click Continue.

    VMware Workstation

    • At the Who are you? screen, enter user information (name, machine name, username, password), select Require my password to log in and click Continue. When the installation is complete, click Restart Now to reboot the virtual machine. VMware Workstation VMware Workstation
  12. When the installation and configuration process is complete, you need to install OpenSSH Server to be able to connect SSH to the instance using the following commands:

    sudo apt install openssh-server
    sudo systemctl start ssh
    sudo systemctl enable ssh
    

    VMware Workstation VMware Workstation