Installing VM Dependencies
Install required dependencies on the host where the VM environment is set up.
- Install libvirt, virt-manager, and other dependencies.
yum install libvirt virt-manager edk2-aarch64 sshpass mesa-libGLES-devel mesa-dri-drivers virt-install -y
- Install the x11 server to enable the virt-manager GUI.
yum install xorg-x11-server
- Open the sshd configuration file.
vi /etc/ssh/sshd_config
- Press i to enter the insert mode and set X11Forwarding to yes.
- Press Esc to exit the insert mode. Type :wq! and press Enter to save and exit the file.
- Restart the sshd service.
systemctl restart sshd
If an error is reported when the virt-manager instruction is executed, open another SSH window.
Parent topic: Host Environment Configuration