this post was submitted on 10 Aug 2024
83 points (98.8% liked)

Linux

47317 readers
661 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I use vmware and qemu

you are viewing a single comment's thread
view the rest of the comments
[–] MrCamel999@programming.dev 7 points 1 month ago (2 children)

I use virt-manager, aka Virtual Machine Manager. Using this specifically because of the winapps for Linux repo has instructions on how to get Windows apps to run through the VM to be integrated in a Linux environment.

[–] CosmicTurtle0@lemmy.dbzer0.com 2 points 1 month ago (3 children)

How "scriptable" is virt-manager?

My biggest issue with VirtualBox is that I have to install OSes as if I'm actually installing them. There aren't any images (at least that I'm aware of) that can run with a command, like deploying an EC2.

[–] skullgiver@popplesburger.hilciferous.nl 7 points 1 month ago* (last edited 1 month ago)

virt-manager is a frontend for a bunch of virtualisation systems, but usually it's configured for qemu+kvm+libvirt.

Libvirt is a dedicated API to managing virtual machines. It's probably most versatile when launching new VMs on it by using the libvirt XML definitions, but there's an API you can use if you want more low level access, and optional command line tooling as well.

Something like virt-install --name=lemmyvm --vcpus=1 --memory=2048 --cdrom=/tmp/debian-netinst.iso --disk size=50 --os-variant=debian12 should automatically install a Debian 12 VM (from a downloaded ISO) through the automated setup process. It's been a while since I used that, though, so you may need an extra step or two to get the setup to autocomplete today. I think cloudinit is how you auto setup Linux distros these days?

[–] stsquad@lemmy.ml 3 points 1 month ago

Virt-manager isn't super scriptable but the underlying libvirt can be controlled by virsh which is a shell interface to libvirt. You can use both at the same time, e.g. start and stop via virsh and access to gui container via virt-manager/virt-viewer.

[–] possiblylinux127@lemmy.zip 2 points 1 month ago* (last edited 1 month ago)

Virtual manager isn't scriptable at all as it is just a GUI for libvirt. You are probably looking for qemu or virsh (libvirt)

[–] Mwa@thelemmy.club 2 points 1 month ago

might try that tbh am gonna run razer software or apps that dont work on linux at all and for games am gonna use my windows ssd