Skip to content

Ubuntu 18.04 Installation

This document provides detailed instructions for downloading Ubuntu 18.04, creating a virtual machine via VMware Workstation, installing and configuring it, and installing VMware Tools.

1. Download Ubuntu 18.04

Download the Ubuntu 18.04 LTS ISO file from the Ubuntu official website or a domestic mirror site.

Ubuntu 18.04 LTS download page on the official Ubuntu website

After installation, it appears as follows:

Ubuntu 18.04 desktop after installation completes

2. Create a Virtual Machine

VMware Configuration Steps

  1. Open VMware Workstation and click Create a New Virtual Machine.

VMware Workstation home screen with the Create a New Virtual Machine button highlighted

  1. Select Custom (Advanced), then click Next.

VMware configuration type selection with Custom (Advanced) chosen

  1. Select hardware compatibility based on your installed VMware version, then click Next.

VMware hardware compatibility selection dialog

  1. Select I will install the operating system later, then click Next.

VMware guest operating system installation screen with I will install the operating system later selected

  1. Select Linux, with version Ubuntu 64-bit, then click Next.

VMware guest OS selection with Linux and Ubuntu 64-bit chosen

  1. Name the virtual machine and choose an installation location (preferably not on the C drive).

VMware virtual machine name and installation location dialog

  1. Set processor count to 1 and core count to 4, then click Next.

VMware processor configuration with 1 processor and 4 cores

  1. Set memory to 8GB, then click Next.

VMware memory configuration set to 8GB

  1. Select Use network address translation (NAT), then click Next.

VMware network type selection with NAT chosen

  1. Keep the default recommended settings and click Next.

VMware I/O controller types selection screen with default recommended option

VMware virtual disk type selection with default recommended option

  1. Select Create a new virtual disk, then click Next.

VMware disk selection screen with Create a new virtual disk chosen

  1. Allocate disk space, recommended 80GB (adjustable based on actual needs), and select Split virtual disk into multiple files, then click Next.

VMware disk capacity set to 80GB with split virtual disk into multiple files selected

  1. Keep defaults and click Next.

VMware virtual disk file location dialog with default settings

  1. Click Customize Hardware.

VMware ready to create virtual machine screen with Customize Hardware button

  1. In the hardware customization dialog, use the ISO image file option and select the ISO file downloaded earlier. Remove Sound Card and Printer, then click Close. Since the virtual machine does not need a sound card or printer, removing them saves resources.

VMware hardware customization dialog showing ISO image file selected and sound card and printer removed

  1. Click Finish to begin installation.

VMware virtual machine creation complete screen with the new VM ready to power on

3. Install Ubuntu 18.04

  1. Enter Ubuntu 18.04 and power on the virtual machine. Select Chinese (Simplified), then click Install Ubuntu.

Ubuntu 18.04 welcome screen with Chinese (Simplified) selected and Install Ubuntu button

  1. Select Chinese.

Ubuntu keyboard layout selection with Chinese chosen

  1. Select Normal installation, check Download updates while installing Ubuntu, then click Continue.

Ubuntu installation type selection with Normal installation and Download updates while installing Ubuntu checked

  1. Select Erase disk and install Ubuntu, click Continue on the warning prompt, and finally click Install Now.

Ubuntu installation type with Erase disk and install Ubuntu chosen

Ubuntu write changes to disk confirmation dialog

  1. Set your username and password. The location field can be filled freely. Wait for Ubuntu to complete the installation.

Ubuntu username and password setup screen

Ubuntu installation progress screen with slide show of features

4. Install VMware Tools

After Ubuntu is installed, click Restart Now, enter Ubuntu, and install VMware Tools.

Mount VMware Tools

  1. Click VM in the top menu, then click Install VMware Tools.

VMware VM top menu showing the VM dropdown with Install VMware Tools highlighted

After the download completes:

VMware Tools ISO mounted on the Ubuntu desktop after download completes

  1. Locate the VMware Tools folder in Files — VMware Tools, and move it to the home directory.

Ubuntu Files application showing the VMware Tools folder contents in the file manager

  1. Right-click in the home directory and select Open in Terminal, then run the following command:
bash
tar -zxvf VMwareTools-xxx.tar.gz

After running, you will see the extracted folder:

Extracted vmware-tools-distrib folder in the Ubuntu home directory

  1. Run the following two commands:
bash
cd vmware-tools-distrib
sudo ./vmware-install.pl

Type yes at the first prompt, then press Enter for all subsequent prompts.

Afterward, restart the system. Ubuntu 18.04 installation is now complete.