Rate This Document
Findability
Accuracy
Completeness
Readability

Installing VM Dependencies

Install required dependencies on the host where the VM environment is set up.

  1. Install libvirt, virt-manager, and other dependencies.
    yum install libvirt virt-manager edk2-aarch64 sshpass mesa-libGLES-devel mesa-dri-drivers virt-install -y
  2. Install the x11 server to enable the virt-manager GUI.
    yum install xorg-x11-server
  3. Open the sshd configuration file.
    vi /etc/ssh/sshd_config
  4. Press i to enter the insert mode and set X11Forwarding to yes.
  5. Press Esc to exit the insert mode. Type :wq! and press Enter to save and exit the file.
  6. Restart the sshd service.
    systemctl restart sshd

    If an error is reported when the virt-manager instruction is executed, open another SSH window.