Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
redhat:virtualization-redhat:start [2020/04/01 11:16] – michael | redhat:virtualization-redhat:start [2020/09/02 12:37] (current) – michael | ||
---|---|---|---|
Line 8: | Line 8: | ||
+ | * [[redhat: | ||
* [[redhat: | * [[redhat: | ||
Line 123: | Line 124: | ||
<WRAP center box 100%> | <WRAP center box 100%> | ||
- | Validate all the components on your KVM host can support virtualization. | + | '' |
< | < | ||
Line 188: | Line 189: | ||
KVM and QEMU hypervisors has been installed on CentOS 8. | KVM and QEMU hypervisors has been installed on CentOS 8. | ||
+ | |||
+ | ===== Configure KVM Environment ===== | ||
+ | |||
+ | <WRAP center box 100%> | ||
+ | ==== Allow QEMU/KVM Commands for personal user: ==== | ||
+ | |||
+ | If you want to allow your login user (non-root) to run virsh command or other KVM/QEMU commands, or use these commands without sudo, (needed by cockpit) then add your login user to the libvirt group as follows: | ||
+ | |||
+ | < | ||
+ | # usermod -aG libvirt YOURUSERNAME | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | <WRAP center box 100%> | ||
+ | ==== Setup own VM-Storage / ISO-Storage configuration: | ||
+ | |||
+ | **Create needed directories**: | ||
+ | |||
+ | < | ||
+ | # mkdir -p / | ||
+ | # mkdir / | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | **Make the virsh pool configuration changes**: | ||
+ | |||
+ | - Listing current pools: < | ||
+ | |||
+ | Name | ||
+ | ------------------------------------------- | ||
+ | default | ||
+ | </ | ||
+ | - '' | ||
+ | - '' | ||
+ | - '' | ||
+ | - '' | ||
+ | - '' | ||
+ | - '' | ||
+ | Name | ||
+ | ------------------------------------------- | ||
+ | default | ||
+ | </ | ||
+ | |||
+ | From now, when creating virtual machines, Virtual Machine Manager will inform you that the *.img file (virtual disk of your VM), will be saved at ''/ | ||
+ | </ | ||
===== Installing Cockpit Web Interface in CentOS 8 ===== | ===== Installing Cockpit Web Interface in CentOS 8 ===== |