Removed step to check if KVM virtualization is enabled or not since it is a part of mainline Linux kernel. Also, added the final step.
This commit is contained in:
parent
686a88c0c3
commit
260d058af0
@ -10,14 +10,7 @@ cat /proc/cpuinfo | grep -Ec '(vmx|svm)'
|
||||
|
||||
In this command, we are printing the contents of `/proc/cpuinfo`, then using grep for pattern matching. `vmx` is the name for Intel's virtualization and `svm` is AMD's. If the output is 0, virtualization is disabled in BIOS, otherwise it's on.
|
||||
|
||||
2. Check if KVM virtualization is enabled.
|
||||
|
||||
```shell
|
||||
sudo apt install -y cpu-checker
|
||||
kvm-ok
|
||||
```
|
||||
|
||||
3. Install required packages
|
||||
2. Install required packages
|
||||
|
||||
```shell
|
||||
sudo apt install -y qemu-kvm virt-manager libvirt-daemon-system virtinst libvirt-clients
|
||||
@ -29,7 +22,7 @@ sudo apt install -y qemu-kvm virt-manager libvirt-daemon-system virtinst libvirt
|
||||
- virtinst – A set of command-line utilities for provisioning and modifying virtual machines.
|
||||
- libvirt-clients – A set of client-side libraries and APIs for managing and controlling virtual machines & hypervisors from the command line.
|
||||
|
||||
4. Start and enable virtualization daemon
|
||||
3. Start and enable virtualization daemon
|
||||
|
||||
```shell
|
||||
sudo systemctl enable libvirtd
|
||||
@ -37,13 +30,18 @@ sudo systemctl start libvirtd
|
||||
sudo systemctl status libvirtd
|
||||
```
|
||||
|
||||
5. Add user to KVM and libvirt group
|
||||
> [!TIP]
|
||||
> After viewing status of the `libvirtd` service, press `q` to exit out of the view.
|
||||
|
||||
4. Add user to KVM and libvirt group
|
||||
|
||||
```shell
|
||||
sudo usermod -aG kvm $USER
|
||||
sudo usermod -aG libvirt $USER
|
||||
```
|
||||
|
||||
6. Launch KVM Virtual Machine Manager from App Launcher.
|
||||
5. Launch KVM Virtual Machine Manager from App Launcher.
|
||||
|
||||
7. <WILL ADD LATER>
|
||||
6. `QEMU/KVM` should show _connecting_ followed by _connected_ in the app. Now, you can launch as many virtual machines as you want!
|
||||
|
||||
---
|
||||
|
Loading…
x
Reference in New Issue
Block a user