Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux_wiki:kernel-based_virtual_machine_kvm [2015/02/25 23:13] billdozor |
linux_wiki:kernel-based_virtual_machine_kvm [2016/03/18 23:18] billdozor [Kernel-based Virtual Machine (KVM)] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Kernel-based Virtual Machine (KVM) ====== | ====== Kernel-based Virtual Machine (KVM) ====== | ||
- | Description: | + | **General Information** |
- | Assumptions: | + | KVM is "a full virtualization solution for Linux on x86 hardware containing virtualization extensions." |
- | * Some Red Hat based distro | + | |
- | * This page was written using CentOS 6.6 with GNOME desktop (headless | + | |
- | 2015-02-13: These are rough notes and in progress as I learn KVM. | + | **Checklist** |
+ | * Distro(s): Enterprise Linux 6 | ||
+ | * Other: This page was written using CentOS 6.6 with GNOME desktop (headless KVM is on the to do list!) | ||
+ | * 2015-02-13: These are rough notes and in progress as I learn KVM. | ||
- | ===== Installation ===== | + | ---- |
+ | |||
+ | ====== Installation | ||
==== Install: Required Virtualization Packages (CLI) ==== | ==== Install: Required Virtualization Packages (CLI) ==== | ||
Line 47: | Line 50: | ||
---- | ---- | ||
- | ===== Verify Installation and Start Services ===== | + | ====== Verify Installation and Start Services |
* Ensure that the KVM kernel module is loaded | * Ensure that the KVM kernel module is loaded | ||
Line 83: | Line 86: | ||
---- | ---- | ||
- | ===== Setup Networking ===== | + | ====== Setup Networking |
By default, VMs will be on a private network with no access to the outside world unless they use a physical host network interface as a bridge. | By default, VMs will be on a private network with no access to the outside world unless they use a physical host network interface as a bridge. | ||
Line 165: | Line 168: | ||
---- | ---- | ||
- | ===== SELinux ===== | + | ====== SELinux |
If SELinux is on and in Enforcing mode, there is additional configuration if you change the default directory for VM images. | If SELinux is on and in Enforcing mode, there is additional configuration if you change the default directory for VM images. | ||
Line 202: | Line 205: | ||
---- | ---- | ||
- | ===== Creating VMs ===== | + | ====== Creating VMs ====== |
VMs can be installed via a command line tool (virt-install) or a GUI (virt-manager). | VMs can be installed via a command line tool (virt-install) or a GUI (virt-manager). | ||
Line 294: | Line 297: | ||
* Step 5 => | * Step 5 => | ||
* Ready to install: Confirm settings, set advanced options such as Host network device. | * Ready to install: Confirm settings, set advanced options such as Host network device. | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== Disabling virbr0 NAT Interface ====== | ||
+ | |||
+ | On some desktop installations, | ||
+ | |||
+ | To disable this interface: | ||
+ | * View the interface< | ||
+ | * Turn off the interface< | ||
+ | * Disable auto start on the interface< | ||
+ | * Verify State is " | ||
+ | ip addr show</ | ||
+ | * Restart the network service | ||
+ | * EL6<code bash> | ||
+ | * EL7<code bash> | ||
+ | |||
+ | ---- | ||
+ |