Outils pour utilisateurs

Outils du site


issue178:tutoriel2

Playing with Virtual Box for the last few years, I had some problems after upgrading to Ubuntu 21.04 (I think it was). Thus I decided to look around for alternatives and found some interesting Virtual Machines: Gnome Boxes, Virtual Machine Manager(VMM), and recently Quickemu with its graphical counterpart Quickgui, especially for Linux host systems. Now I want to highlight my experiences with Quickemu/Quickgui package; on request I might consider some writeup for Boxes and VMM. The package is made by Martin Wimpress (dev. Of the Mate DE), who made this for quickly running checks on his Mate upgrades, and decided to make it public. Read more here: https://github.com/quickemu-project/quickemu.

Après avoir bricolé avec VirtualBox pendant ces dernières années, j’avais quelques problèmes après une mise à niveau vers Ubuntu 21.04 (je pense). J’ai donc décidé de chercher des alternatives et j’ai trouvé quelques machines virtuelles intéressantes : Gnome Boxes, Virtual Machine Manager (VMM) et, récemment, Quickemu et son équivalent graphique, Quickgui, précisément pour des systèmes hôtes Linux.

Maintenant je veux donner un aperçu de mes expériences avec le paquet Quickemu/Quickgui ; si on me le demande, je pourrais envisager d’écrire sur Boxes et VMM.

Le paquet est fait par Martin Wimpress (développeur de l’environnement de bureau Mate), qui l’a créé pour pouvoir rapidement vérifier ses mises à niveau de Mate et a décidé de le rendre public. Pour plus de détails, lisez ici : https://github.com/quickemu-project/quickemu

Yannick Mauray and Mark Johnson joined in to make the graphical interface, in Quickgui, which is built on top of Quickemu. Both packages are free to get and use. Quickemu is a command controlled app that is based on the QEMU virtual machine and is meant to automatically “do the right thing”, rather than expose exhaustive configuration options. Installation – Quickemu for Ubuntu You can install Quickemu from a ppa with these commands: sudo apt-add-repository ppa:flexiondotorg/quickemu sudo apt update sudo apt install quickemu Installation – Quickgui for Ubuntu And the Quickgui can be installed from another ppa: sudo add-apt-repository ppa:yannick-mauray/quickgui sudo apt update sudo apt install quickgui For other host systems, please refer to the Github site mentioned above.

Yannick Mauray et Mark Johnson l’ont rejoint pour créer l’interface graphique de Quickgui, qui est construite par-dessus Quickemu. Les deux paquets sont gratuits au téléchargement et à l’utilisation.

Quickemu est une appli contrôlée en ligne de commande basée sur la machine virtuelle QEMU ; son objectif est de « faire ce qu’il faut » automatiquement, plutôt que de présenter des options à n'en plus finir.

Installation – Quickemu pour Ubuntu

Vous pouvez installer Quickemu à partir d’une PPA avec ces commandes :

sudo apt-add-repository ppa:flexiondotorg/quickemu

sudo apt update

sudo apt install quickemu

Installation – Quickgui pour Ubuntu

Et le Quickgui peut être installé à partir d’une autre ppa :

sudo add-apt-repository ppa:yannick-mauray/quickgui

sudo apt update

sudo apt install quickgui

Pour d’autres hôtes, veuillez vous référer au site GitHub mentionné ci-dessus.

Running command-line After installation, there are only two commands to use for downloading and running the App. : quickget ubuntu-mate impish This command will download and configure the package you want. Above is the example for Ubuntu-Mate Impish. But there is a very wide selection of Linux distros and Windows 10 and 11 versions, as well as a selection of MacOS packages, to choose from. It will make a folder in your Home dir, for the package and a conf file, unless you select another dir, you can even put it on an USB stick or external HDD. quickemu –vm ubuntu-mate-impish.conf To run your desired package (above again the example for Ubuntu-Mate Impish), just use the above command and your OS of choice will start allowing you to use a live version or install it.

Exécuter la version en ligne de commande

Après l’installation, il n’y a que deux commandes à utiliser pour télécharger et lancer l’appli :

quickget ubuntu-mate impish

Cette commande téléchargera et configurera le paquet que vous voulez. Ci-dessus, il y a l’exemple pour Ubuntu-Mate Impish. Mais il y a une très large sélection de distrib. Linux et des versions pour Windows 10 et 11, ainsi qu’une sélection de paquets pour MacOS, parmi lesquelles choisir.

Cela créera un dossier dans votre répertoire Home, pour le paquet et un fichier de configuration, à moins que vous ne sélectionniez un autre répertoire ; vous pouvez même le mettre sur une clé USB ou un HDD externe.

quickemu –vm ubuntu-mate-impish.conf

Pour lancer le paquet désiré (ci-dessus à nouveau, l’exemple pour Ubuntu-Mate Impish), il suffit d’utiliser la commande ci-dessus et l’OS choisi démarrera, vous permettant d’en utiliser une version Live ou de l’installer.

Windows will bring you to the install screen. MacOS has some special instructions, see Github. Running Gui The Graphical Interface works very easily after having installed both the Quickemu and Quickgui packages. Open the Quickgui App and it will open with a screen to allow you to select your already installed package, or to download a new operating system. Clicking the “Create new machines” , will give you a wide selection of Linux distros, Windows and MacOS versions to choose from. You Select your Operating System, next choose the Version, and by a click on Download, the package will be downloaded into the Working directory, as shown.

Windows affichera l’écran d’installation.

Il y a quelques instructions spéciales pour MacOS ; voyez Github.

Exécuter la GUI

Une fois les deux paquets installés, Quickemu et Quickgui, l’interface graphique fonctionne très facilement.

Ouvrez l’appli Quickgui et un écran s’ouvrira où vous pouvez sélectionner un paquet qui est déjà installé ou choisir de télécharger un nouveau système d’exploitation.

Un clic sur « Create new machines » (créer de nouvelles machines) vous donnera une large sélection de distrib. Linux et de versions de Windows et de MacOS parmi lesquelles choisir.

Vous sélectionnez votre système d’exploitation puis choisir la version et, quand vous cliquerez sur Download (Télécharger), le paquet sera téléchargé vers le répertoire de travail, comme montré.

A conf file is made as well for running the O.S. and specifying the optimised RAM for the VM based on the RAM op your computer, the cores, and the disk-size in GB for your VM (normally ram, cpu_cores are below 50% of your PC). You can manually change this in the conf file if you like. config file: example for my PC, the cpu, ram and disk_size you may adjust as you prefer: guest_os=“linux” disk_img=“ubuntu-devel/disk.qcow2” iso=“ubuntu-devel/ubuntu-devel.iso” cpu_cores=“3” ram=“8G” disk_size=“64G” Once the download finishes, click the Dismiss button, and you will come back to the main Menu screen.

Un fichier conf (config) est fait aussi pour l’exécution de l’OS et en spécifiant la RAM optimisée pour la VM basée sur la RAM de votre ordinateur, les cœurs et la taille disque en Go pour votre VM (habituellement, la RAM et les cœurs du CPU sont en dessous de 50 % de votre PC). Vous pouvez changer cela à la main dans le fichier config si vous le souhaitez.

Fichier config : exemple pour mon PC ; vous pouvez ajuster le CPU, la RAM et la taille du disque selon vos préférences :

guest_os=“linux”

disk_img=“ubuntu-devel/disk.qcow2”

iso=“ubuntu-devel/ubuntu-devel.iso”

cpu_cores=“3”

ram=“8G”

disk_size=“64G”

Une fois le téléchargement terminé, cliquez sur le bouton Dismiss et vous reviendrez à l’écran principal du menu.

Opening the ‘Manage existing Machines’ will show all the O.S.’s that you have downloaded and installed. Select the one you want to open and a green arrow is inviting you to start your vm. With the red square, you can stop the vm and the trash icon is available if you want to get rid of the vm altogether. Communication with the host is possible by activating the SPICE port or the SHH button. Summary I like this package because of its simplicity to use and being able to quickly and easily run the Operating System you want. It does not offer all the features that Virtual Box has, though. This App allowed me even to see and work for the 1st time with a macOS system; so far I still choose to stay with Ubuntu.

L’ouverture de « Manage existing Machines » (Gérer les machines existantes) montrera tous les OS que vous avez téléchargés et installés.

Choisissez celui que vous voulez ouvrir et une flèche verte vous invite à allumer votre machine virtuelle. Le carré rouge sert à arrêter la vm et l’icône d’une corbeille est disponible si vous voulez vous débarrasser complètement de la vm.

Il est possible de communiquer avec l’hôte en activant le port SPICE ou le bouton SHH.

Résumé

Ce paquet me plaît beaucoup à cause de la simplicité de son utilisation et du fait que vous pouvez rapidement et facilement démarrer le système d’exploitation que vous voulez. Toutefois, il n’a pas toutes les fonctionnalités de VirtualBox.

Cette appli m’a même donné la possibilité de voir et de travailler pour la première fois avec un système macOS. Jusqu’ici, je choisis néanmoins de rester avec Ubuntu.

BIO :

Ard Rijnhout. Started using Ubuntu from around 2008, and quickly left Windows only as a 2nd choice in a dual-boot system. Last 8 yrs playing around with Virtual Machines in order to explore new distros and to help with studying development versions of different O.S. and App’s.

Bio : Ard a commencé à utilisé Ubuntu dès environ 2008 et n'a rapidement gardé Windows que comme le deuxième choix dans un système à double amorçage. Il a passé les 8 dernières années en bricolant avec des machines virtuelles pour pouvoir explorer de nouvelles distrib. et aider à l’analyse des versions de développement de divers OS et applis.

issue178/tutoriel2.txt · Dernière modification : 2022/03/03 07:30 de d52fr