Cloudera: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| Zeile 1: | Zeile 1: | ||
====Installation der VM-Host ==== | ====Installation der VM-Host ==== | ||
| − | + | ||
| − | |||
| − | |||
| − | |||
===== Virt-Manager ===== | ===== Virt-Manager ===== | ||
<pre> | <pre> | ||
| − | [root@ | + | [root@dell01: yum -y install qemu-kvm qemu-img virt-manager libvirt libvirt-python libvirt-client virt-install virt-viewer bridge-utils |
| − | [root@ | + | [root@dell01: systemctl start libvirtd |
| − | [root@ | + | [root@dell01: systemctl enable libvirtd |
</pre> | </pre> | ||
Check: | Check: | ||
<pre> | <pre> | ||
| − | [root@ | + | [root@dell01: lsmod | grep kvm |
kvm_intel 170200 0 | kvm_intel 170200 0 | ||
| Zeile 23: | Zeile 20: | ||
===== Bridge Network ===== | ===== Bridge Network ===== | ||
<pre> | <pre> | ||
| − | [root@ | + | [root@dell01: cd /etc/sysconfig/network-scripts |
| − | [root@ | + | [root@dell01: cp ifcfg-eno1 ifcfg-br0 |
| − | [root@ | + | [root@dell01: vi ifcfg-eno1 |
TYPE=Ethernet | TYPE=Ethernet | ||
BOOTPROTO=static | BOOTPROTO=static | ||
| Zeile 32: | Zeile 29: | ||
BRIDGE=br0 | BRIDGE=br0 | ||
| − | [root@ | + | [root@dell01: vi ifcfg-br0 |
TYPE=Bridge | TYPE=Bridge | ||
BOOTPROTO=static | BOOTPROTO=static | ||
| Zeile 42: | Zeile 39: | ||
DNS1=192.168.10.11 | DNS1=192.168.10.11 | ||
| − | [root@ | + | [root@dell01: systemctl restart network |
| − | [root@ | + | [root@dell01: ip addr show br0 |
| + | </pre> | ||
| + | |||
| + | ===== X-Forwarding für virt-manager ===== | ||
| + | <pre> | ||
| + | [root@dell: yum -y install xorg-x11-xauth xorg-x11-xinit-session xorg-x11-fonts-misc xorg-x11-fonts-75dpi xorg-x11-fonts-100dpi xorg-x11-font-utils xorg-x11-fonts-Type1 | ||
| + | </pre> | ||
| + | Check vom Mac: | ||
| + | <pre> | ||
| + | MAC:~ ktsadmin$ ssh -Y root@dell01 | ||
| + | |||
| + | [root@dell01: virt-manager | ||
</pre> | </pre> | ||
Version vom 4. Dezember 2017, 20:27 Uhr
Installation der VM-Host
Virt-Manager
[root@dell01: yum -y install qemu-kvm qemu-img virt-manager libvirt libvirt-python libvirt-client virt-install virt-viewer bridge-utils [root@dell01: systemctl start libvirtd [root@dell01: systemctl enable libvirtd
Check:
[root@dell01: lsmod | grep kvm kvm_intel 170200 0 kvm 566604 1 kvm_intel irqbypass 13503 1 kvm
Bridge Network
[root@dell01: cd /etc/sysconfig/network-scripts [root@dell01: cp ifcfg-eno1 ifcfg-br0 [root@dell01: vi ifcfg-eno1 TYPE=Ethernet BOOTPROTO=static DEVICE=eno1 ONBOOT=yes BRIDGE=br0 [root@dell01: vi ifcfg-br0 TYPE=Bridge BOOTPROTO=static DEVICE=br0 ONBOOT=yes IPADDR=192.168.10.21 NETMASK=255.255.255.0 GATEWAY=192.168.10.1 DNS1=192.168.10.11 [root@dell01: systemctl restart network [root@dell01: ip addr show br0
X-Forwarding für virt-manager
[root@dell: yum -y install xorg-x11-xauth xorg-x11-xinit-session xorg-x11-fonts-misc xorg-x11-fonts-75dpi xorg-x11-fonts-100dpi xorg-x11-font-utils xorg-x11-fonts-Type1
Check vom Mac:
MAC:~ ktsadmin$ ssh -Y root@dell01 [root@dell01: virt-manager