Virtualization
Difficulty: Intermediate
4 min read

VMware ESXi: Installation and Configuration

Complete guide to install and configure VMware ESXi in order to virtualize your servers and optimize your hardware resources.

Back to tutorials
What is VMware ESXi?
VMware ESXi is a "type 1" (or "bare-metal") hypervisor, which means it installs directly on a server's physical hardware, without requiring an underlying operating system. It is at the heart of the VMware vSphere virtualization suite and is renowned for its robustness, performance, and small footprint.

Why Use ESXi?

  • Performance: Direct access to the hardware for high-performance virtualization.
  • Stability: A reduced footprint means fewer components to update and a smaller attack surface.
  • Rich ecosystem: Integrates seamlessly with advanced management tools such as vCenter Server, vSAN, and NSX.
  • High Availability: Supports features such as vMotion (live migration), High Availability (HA), and Fault Tolerance (FT) with vCenter.

Prerequisites

  • Compatible hardware: Check your server's compatibility on the VMware Compatibility Guide.
  • Installation media: A USB flash drive (8 GB minimum) to create the bootable installer.
  • ESXi ISO image: Downloadable from the VMware website (a free version is available).
  • Physical or remote access: Access to the server's console (iDRAC, iLO, IPMI) is required for the installation.

Installing ESXi

Step 1: Create a bootable USB drive

Use a tool such as Rufus to create an installation USB drive from the ESXi ISO image you downloaded.

Step 2: Installation on the server

  1. Boot your server from the USB drive.
  2. The ESXi installer loads. Press (Enter) to continue.
  3. Accept the license (EULA) by pressing (F11).
  4. The installer scans the storage devices. Select the disk on which you want to install ESXi (typically a small SSD, an SD card, or an internal disk).
  5. Choose the keyboard layout.
  6. Set a password for the root user. Keep it safe; it is the only account available after installation.
  7. Confirm the installation by pressing (F11).
  8. Once the installation is complete, remove the USB drive and restart the server.
Installation complete!
The console screen (DCUI - Direct Console User Interface) is displayed with the IP address to manage your host.

Basic Configuration

Step 1: Initial network configuration

On the DCUI console (the yellow and gray screen), you can configure the basic options:

  • Press (F2) and enter your root password.
  • Go to "Configure Management Network" to set a static IP address, a subnet mask, a gateway, and DNS servers. This is strongly recommended for a production environment.

Step 2: Accessing the web interface (Host Client)

Open a web browser on a machine on the same network and go to the address https://<your-esxi-ip>/. Log in with the root user and your password.

Step 3: Create a virtual machine

  1. In the web interface, click "Virtual Machines" then "Create/Register VM".
  2. Choose "Create a new virtual machine".
  3. Give your VM a name and choose the guest operating system type.
  4. Select the "datastore" (the storage space) where the VM files will be stored.
  5. Customize the virtual hardware (CPU, RAM, disk size).
  6. In the CD/DVD drive settings, select "Datastore ISO file" and upload the ISO of the OS you want to install (e.g., Ubuntu Server).
  7. Finish the wizard, then start the VM. Open the VM console to proceed with the installation of the guest OS.
Free vs paid license
The free version of ESXi is very functional but cannot be managed by a vCenter Server. Advanced features such as vMotion, HA, DRS, and the centralized backup APIs require a paid license (vSphere Essentials Kit or higher).

Conclusion

VMware ESXi is the industry standard for server virtualization. Its installation is simple and fast, and its web management interface (Host Client) makes it easy to manage virtual machines on a single host. For larger infrastructures, adding vCenter Server unlocks the full potential of the vSphere ecosystem, but even in its free version, ESXi is an extraordinarily powerful tool for server consolidation and home labs.

Written by

Morgann Riu

Cybersecurity and Linux administration expert. I share my knowledge through free tutorials and training to help system administrators and developers secure their infrastructures.

Share this tutorial

Did you enjoy this article?

Comments

Checklist Sécurité Linux

30 points essentiels pour sécuriser un serveur Linux. Recevez aussi les nouveaux tutoriels par email.

Pas de spam. Désabonnement en 1 clic.