Cloudera: Unterschied zwischen den Versionen

Aus Wiki schlicker.org
Zur Navigation springen Zur Suche springen
Zeile 3: Zeile 3:
 
===== X-Forwarding für virt-manager =====
 
===== X-Forwarding für virt-manager =====
 
<pre>
 
<pre>
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
+
[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>
 
</pre>
  
 
===== Virt-Manager =====
 
===== Virt-Manager =====
 
<pre>
 
<pre>
yum -y install qemu-kvm qemu-img virt-manager libvirt libvirt-python libvirt-client virt-install virt-viewer bridge-utils
+
[root@dell: yum -y install qemu-kvm qemu-img virt-manager libvirt libvirt-python libvirt-client virt-install virt-viewer bridge-utils
systemctl start libvirtd
+
[root@dell: systemctl start libvirtd
systemctl enable libvirtd
+
[root@dell: systemctl enable libvirtd
 
</pre>
 
</pre>
 
Check:
 
Check:
 
<pre>
 
<pre>
lsmod | grep kvm
+
[root@dell: lsmod | grep kvm
  
 
kvm_intel            170200  0  
 
kvm_intel            170200  0  
 
kvm                  566604  1 kvm_intel
 
kvm                  566604  1 kvm_intel
 
irqbypass              13503  1 kvm
 
irqbypass              13503  1 kvm
 +
</pre>
 +
 +
===== Bridge Network =====
 +
<pre>
 +
[root@dell: cd /etc/sysconfig/network-scripts
 +
[root@dell: cp ifcfg-eno1 ifcfg-br0
 +
[root@dell: vi ifcfg-eno1
 +
TYPE=Ethernet
 +
BOOTPROTO=static
 +
DEVICE=eno1
 +
ONBOOT=yes
 +
BRIDGE=br0
 +
 +
[root@dell: 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@dell: systemctl restart network
 +
[root@dell: ip addr show br0
 
</pre>
 
</pre>

Version vom 4. Dezember 2017, 20:19 Uhr

Installation der VM-Host

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
Virt-Manager
[root@dell: yum -y install qemu-kvm qemu-img virt-manager libvirt libvirt-python libvirt-client virt-install virt-viewer bridge-utils
[root@dell: systemctl start libvirtd
[root@dell: systemctl enable libvirtd

Check:

[root@dell: lsmod | grep kvm

kvm_intel             170200  0 
kvm                   566604  1 kvm_intel
irqbypass              13503  1 kvm
Bridge Network
[root@dell: cd /etc/sysconfig/network-scripts
[root@dell: cp ifcfg-eno1 ifcfg-br0
[root@dell: vi ifcfg-eno1
TYPE=Ethernet
BOOTPROTO=static
DEVICE=eno1
ONBOOT=yes
BRIDGE=br0

[root@dell: 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@dell: systemctl restart network
[root@dell: ip addr show br0