VMware ESXi is a type 1 bare-metal hypervisor which runs directly on top of server hardware. With VMware ESXi, you can create, configure, manage, and run Clear Linux* OS virtual machines in the cloud.

This section shows you how to create a new VM and manually install Clear Linux OS into it with VMware ESXi 6.5.

Manually installing Clear Linux OS into a new VM provides you some additional configuration flexibility during installation. For example: alternate disk sizes, number of partitions, pre-installed bundles, etc.

If you would prefer to use a preconfigured Clear Linux OS VMware image instead, see Run preconfigured Clear Linux* OS image as a VMware* ESXi guest OS.

Note

VMware also offers a type 2 hypervisor called VMware Workstation Player which is designed for the desktop environment.

See Run pre-configured Clear Linux* OS image as a VMware* Workstation Player guest OS or see Install Clear Linux* OS as a VMware* Workstation Player guest OS

Visit Clear Linux* OS image types to learn more about all available images.

Install steps:

Download the latest Clear Linux OS installer ISO

Get the latest Clear Linux OS installer ISO image from the image repository. Look for clear-[version number]-installer.iso.xz.

Decompress the Clear Linux OS image

Released Clear Linux OS images are compressed with either GNU zip (.gz) or XZ (.xz). The compression type depends on the target platform or environment. To decompress the image, follow these steps:

  1. Start a terminal emulator.

  2. Go to the directory with the downloaded image.

    To decompress an XZ image, enter:

    unxz clear-[version number]-[image type].xz
    

    To decompress a GZ image, enter:

    gunzip clear-[version number]-[image type].gz
    

For alternative instructions on other operating systems, see:

Upload the Clear Linux OS installer ISO to the VMware server

  1. Connect to the VMware server and log into an account with sufficient permission to create and manage VMs.

  2. Under the Navigator window, select Storage. See Figure 1.

  3. Under the Datastores tab, click the Datastore browser button.

    VMware ESXi - Navigator > Storage

    Figure 1: VMware ESXi - Navigator > Storage

  4. Click the Create directory button and name the directory ISOs. See Figure 2.

    VMware ESXi - Datastore > Create directory

    Figure 2: VMware ESXi - Datastore > Create directory

  5. Select the newly-created directory and click the Upload button. See Figure 3.

    VMware ESXi - Datastore > Upload ISO

    Figure 3: VMware ESXi - Datastore > Upload ISO

  6. Select the decompressed Clear Linux OS installer ISO file clear-[version number]-installer.iso and upload it.

Create and configure a new VM

In this section, you will create a new VM, configure its basic parameters such as drive size, number of CPUs, memory size, and then attach the Clear Linux OS installer ISO.

  1. Under the Navigator window, select Virtual Machines. See Figure 4.

  2. In the right window, click the Create / Register VM button.

    VMware ESXi - Navigator > Virtual Machines

    Figure 4: VMware ESXi - Navigator > Virtual Machines

  3. On the Select creation type step:

    1. Select the Create a new virtual machine option. See Figure 5.

    2. Click the Next button.

      VMware ESXi - Create a new virtual machine

      Figure 5: VMware ESXi - Create a new virtual machine

  4. On the Select a name and guest OS step:

    1. Give the new VM a name in the Name field. See Figure 6.

    2. Set the Compatability option to ESXi 6.5 virtual machine.

    3. Set the Guest OS family option to Linux.

    4. Set the Guest OS version option to Other 3.x or later Linux (64-bit).

    5. Click the Next button.

      VMware ESXi - Give a name and select guest OS type

      Figure 6: VMware ESXi - Give a name and select guest OS type

  5. On the Select storage step:

    1. Accept the default option.
    2. Click the Next button.
  6. On the Customize settings step:

    1. Click the Virtual Hardware button. See Figure 7.

    2. Expand the CPU setting and enable Hardware virtualization by checking Expose hardware assisted virtualization to the guest OS.

      VMware ESXi - Enable hardware virtualization

      Figure 7: VMware ESXi - Enable hardware virtualization

    3. Set Memory size to 2048MB (2GB). See Figure 8.

      VMware ESXi - Set memory size

      Figure 8: VMware ESXi - Set memory size

      Note

      The Clear Linux OS installer ISO needs a minimum of 2GB of RAM to work properly. You can reduce the memory size after the installation completes if you want, because a minimum Clear Linux OS installation can function on as little as 128MB of RAM. See Recommended minimum system requirements for more details.

    4. Set Hard disk 1 to the desired capacity. See Figure 9.

      VMware ESXi - Set hard disk size

      Figure 9: VMware ESXi - Set hard disk size

      Note

      A minimum Clear Linux OS installation can exist on 600MB of drive space. See Recommended minimum system requirements for more details.

    5. Attach the Clear Linux OS installer ISO. For the CD/DVD Drive 1 setting, click the drop-down list to the right of it and select the Datastore ISO file option. Then select the Clear Linux OS installer ISO clear-[version number]-installer.iso that you previously uploaded to the VMware server. See Figure 10.

      VMware ESXi - Set CD/DVD to boot installer ISO

      Figure 10: VMware ESXi - Set CD/DVD to boot installer ISO

  7. Click the Next button.

  8. Click the Finish button.

Install Clear Linux OS into the new VM

  1. Power on the VM.

    1. Under the Navigator window, select Virtual Machines. See Figure 11.

    2. In the right window, select the newly-created VM.

    3. Click the Power on button.

    4. Click on the icon representing the VM to bring it into view and maximize its window.

      VMware ESXi - Navigator > Virtual Machines > Power on VM

      Figure 11: VMware ESXi - Navigator > Virtual Machines > Power on VM

  2. Follow the Install Clear Linux OS on your target system guide to complete the installation of Clear Linux OS.

  3. After the installation is complete, follow the Clear Linux OS instruction to reboot it. This will restart the installer again.

Reconfigure the VM’s settings to boot the newly-installed Clear Linux OS

After Clear Linux OS has been installed using the installer ISO, it must be detached so it will not run again. Also, in order to boot the newly-installed Clear Linux OS, you must enable UEFI support.

  1. Power off the VM.

    1. Click the Actions button - located on the top-right corner of the VM’s windows - and go to the Power setting and select the Power off option. See Figure 12.

      VMware ESXi - Actions > Power off

      Figure 12: VMware ESXi - Actions > Power off

  2. Edit the VM settings.

    1. Click the Actions button again and select Edit settings. See Figure 13.

      VMware ESXi - Actions > Edit settings

      Figure 13: VMware ESXi - Actions > Edit settings

  3. Disconnect the CD/DVD to stop it from booting the Clear Linux OS installer ISO again.

    1. Click the Virtual Hardware button. See Figure 14.

    2. For the CD/DVD Drive 1 setting, uncheck the Connect checkbox.

      VMware ESXi - Disconnect the CD/DVD drive

      Figure 14: VMware ESXi - Disconnect the CD/DVD drive

  4. Clear Linux OS needs UEFI support in order to boot. Enable it.

    1. Click the VM Options button. See Figure 15.

    2. Expand the Boot Options setting.

    3. For the Firmware setting, click the drop-down list to the right of it and select the EFI option.

      VMware ESXi - Set boot firmware to EFI

      Figure 15: VMware ESXi - Set boot firmware to EFI

  5. Click the Save button.

Power on the VM and boot Clear Linux OS

After configuring the settings above, power on the VM.

  1. Under the Navigator window, select Virtual Machines. See Figure 16.

  2. In the right window, select the VM.

  3. Click the Power on button.

  4. Click on the icon representing the VM to bring it into view and maximize its window.

    VMware ESXi - Navigator > Virtual Machines > Power on VM

    Figure 16: VMware ESXi - Navigator > Virtual Machines > Power on VM