Install Qemu Guest Agent on Proxmox Rumi, December 21, 2019 The qemu-guest-agent is a helper daemon, which is installed in the guest. It is used to exchange information between the host and guest, and to execute command in the guest. In Proxmox VE, the qemu-guest-agent is used for mainly two things: To properly shutdown the guest, instead of relying on ACPI commands or windows policies To freeze the guest file system when making a backup (on windows, use the volume shadow copy service VSS). Installation Host You have to enable the guest-agent per VM, either set it in the GUI to “Yes” under options (see screenshot): or via CLI: qm set VMID --agent 1 Guest Linux On Linux you have to simply install the qemu-guest-agent, please refer to the documentation of your system. We show here the commands for Debian/Ubuntu and Redhat based systems: on Debian/Ubuntu based systems (with apt-get) run: apt-get install qemu-guest-agent and on Redhat based systems (with yum): yum install qemu-guest-agent Windows First you have to download the virtio-win driver iso. Then install the virtio-serial driver: Attach the ISO to your windows VM (virtio-*.iso) Go to the windows Device Manager Look for “PCI Simple Communications Controller” Right Click -> Update Driver and select on the mounted iso in DRIVE:\vioserial\<OSVERSION>\ where <OSVERSION> is your Windows Version (e.g. 2k12R2 for Windows 2012 R2) After that, you have to install the qemu-guest-agent: Go to the mounted ISO in explorer Execute the installer with double click (either qemu-ga-x64.msi (64-bit) or qemu-ga-x86.msi (32-bit) After that the qemu-guest-agent should be up and running. You can validate this in the list of Window Services, or in a PowerShell with: PS C:\Users\Administrator> Get-Service QEMU-GA Status Name DisplayName ------ ---- ----------- Running QEMU-GA QEMU Guest Agent Testing that the communication with the guest agent is working The communication with the guest agent takes place over a unix socket located in /var/run/qemu-server/<my_vmid>.qga You can test the communication qm agent: qm agent <vmid> ping if the qemu-guest-agent is correctly runnning in the VM, it will return without an error message. Related Administrations KVM Proxmox Virtualization ProxmoxQemuQemu Agent
Reinstall VirtualBox on Ubuntu & CentOS January 8, 2020 For Ubuntu To remove virtualbox sudo dpkg –list virtualbox-* sudo apt autoremove –purge virtualbox* dpkg -l virtualbox* | grep ^i Remove all PPAs from sources.list and source.list.d directory mkdir ~/apt-tmp sudo mv /etc/apt/sources.list.d/* ~/apt-tmp Make sure there is nothing except official repositories sources in /etc/sources.list. And update your sources: sudo apt… Read More
Change Windwos RDP default port 3389 February 15, 2024 Reference is on Windows 10 (should work on other editions too) Step 1: Open the Registry Editor Run the regedit command. You may do this by opening the Start Menu and typing “regedit” into the search bar. Select the option labeled “regedit” with the words “Run command” below it. (Note:… Read More
PHP accelerator November 11, 2012 Even though compilation is very fast, it still has a resource and time cost, especially on high-traffic servers. We can improve our response times by more than 5x by pre-caching our compiled opcode for direct execution later. There are a few PHP accelerators which accomplish this for us: Xcache Xcache… Read More