Install Qemu-guest-agent on Debian / Ubuntu
QEMU Guest Agent Installation Script
🇬🇧 English
📌 Overview
This script automates the installation and configuration of the qemu-guest-agent service on Debian/Ubuntu-based systems.
It is designed to be:
⚙️ What the Script Does
apt update)
Upgrades installed packages (apt upgrade -y)
Checks if qemu-guest-agent is already installed
🎨 Output Features
Each step is verified and reports its real status.
▶️ Usage
Option 1 – One-liner (quick run)
apt update && apt install -y curl && clear && curl -s https://docs.greenhome.stream/attachments/38 | sudo bash
Option 2 – Manual (safer)
curl -s -o install.sh https://docs.greenhome.stream/attachments/38
chmod +x install.sh
sudo ./install.sh
⚠️ Requirements
sudo)
🧾 Final Output
At the end, the script shows a summary like:
Package Status : INSTALLED NOW / ALREADY INSTALLED
Service Status : STARTED NOW / ALREADY RUNNING
Enable Status : ENABLED NOW / ALREADY ENABLED
Final State : RUNNING / NOT RUNNING
🇬🇷 Ελληνικά
📌 Περιγραφή
Αυτό το script αυτοματοποιεί την εγκατάσταση και ρύθμιση της υπηρεσίας qemu-guest-agent σε συστήματα Debian/Ubuntu.
Είναι σχεδιασμένο να είναι:
⚙️ Τι κάνει το Script
Καθαρίζει την οθόνη (clear)
Εμφανίζει banner τίτλου
Ενημερώνει τα πακέτα (apt update)
Αναβαθμίζει το σύστημα (apt upgrade -y)
Ελέγχει αν είναι εγκατεστημένο το qemu-guest-agent
Ελέγχει αν η υπηρεσία τρέχει
Ελέγχει αν είναι ενεργοποιημένη στο boot
Ελέγχει την τελική κατάσταση της υπηρεσίας
Εμφανίζει αναλυτική σύνοψη ενεργειών
🎨 Εμφάνιση
Κάθε βήμα επαληθεύεται και εμφανίζει πραγματικό αποτέλεσμα.
▶️ Χρήση
Επιλογή 1 – Γρήγορη εκτέλεση
apt update && apt install -y curl && clear && curl -s https://docs.greenhome.stream/attachments/38 | sudo bash
Επιλογή 2 – Χειροκίνητα (πιο ασφαλές)
curl -s -o install.sh https://docs.greenhome.stream/attachments/38
chmod +x install.sh
sudo ./install.sh
⚠️ Απαιτήσεις
sudo)
🧾 Τελική Σύνοψη
Στο τέλος εμφανίζεται:
Package Status : INSTALLED NOW / ALREADY INSTALLED
Service Status : STARTED NOW / ALREADY RUNNING
Enable Status : ENABLED NOW / ALREADY ENABLED
Final State : RUNNING / NOT RUNNING