Updated at: 2022-02-22 GMT+08:00

Installing VirtualBox

This section describes how to install VirtualBox.

Preparations

The host where VirtualBox is to be installed must meet the following requirements:

  • The host runs a 64-bit Linux OS.
  • The host has a memory of at least 4 GB and uses a dual-core processor. For example, the host specifications can be 8U16G.
  • The available hard disk space is at least 20 GB.
  • The host CPU supports hardware virtualization (Intel VT-x or AMD-V virtualization). For how to enable this, see Host CPU Settings.

    For details about how to install VirtualBox, see the VirtualBox user guide at https://www.virtualbox.org/manual/UserManual.html.

Host CPU Settings

Perform the following operations to enable hardware virtualization on an Intel host:

The operations may differ depending on the host. You can enable hardware virtualization as prompted.

  1. During startup, press the corresponding key to enter the BIOS.
  2. Enter the BIOS, choose Configuration > Intel Virtual Technology, and press Enter.
  3. Move the cursor to Enabled and press Enter. The value of Intel Virtual Technology will become Enabled.
  4. Press F10 to save the settings and exit. The hardware virtualization function is enabled.
    Figure 1 Enabling the hardware virtualization function

Procedure

  1. Download the VirtualBox installation package.

    Download the installation package from https://www.virtualbox.org/wiki/Downloads.

  2. Decompress the installation package. Take VirtualBox-5.2.0 as an example. Right-click VirtualBox-5.2.0-118431-Win.exe, choose Run as administrator, and complete the installation as prompted.
    Figure 2 Installing VirtualBox
  3. Select the VirtualBox installation path and click Next.
    Figure 3 Selecting an installation path
  4. Personalize the settings and click Next.
    Figure 4 Personalized settings
  5. Click Finish.
close