Preparing the CentOS Host to Install vMX


To prepare the host system running CentOS for installing vMX:

  1. Meet the minimum software and OS requirements described in Minimum Software Requirements for CentOS.
  2. Enable hyperthreading and VT-d in BIOS.

    If you are using SR-IOV, enable SR-IOV in BIOS.

    We recommend that you verify the process with the vendor because different systems have different methods to access and change BIOS settings.

  3. During the OS installation, select the Virtualization Host and Virtualization Platform software collections.

    If you did not select these software collections during the GUI installation, use the following commands to install them:

  4. Enable the appropriate repositories.
  5. Update currently installed packages.
  6. Install the required packages.
  7. (Optional) If you are using SR-IOV, you must install these packages and enable SR-IOV capability.

    Reboot and log in again.

  8. Link the qemu-kvm binary to the qemu-system-x86_64 file.
  9. Set up the path for the correct Python release and install the PyYAML library.
  10. Stop and disable Network Manager.

    If you cannot stop Network Manager, you can prevent resolv.conf from being overwritten with the chattr +I /etc/resolv.conf command.

  11. Ensure that the build directory is readable by the QEMU user.

    As an alternative, you can configure QEMU to run as the root user by setting the /etc/libvirt/qemu.conf file to user=root.

  12. Add this line to the end of the /etc/profile file.

You can now install vMX.


When you install vMX with the sh -lv --install command, you might see a kernel version mismatch warning. You can ignore this warning.