Changes between Version 5 and Version 6 of CentOS_6_YUM
- Timestamp:
- 02/24/16 23:48:50 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CentOS_6_YUM
v5 v6 55 55 yum localinstall --nogpgcheck -y https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm 56 56 57 ## KVM 57 }}} 58 59 60 == CentOS 6 KVM == 61 62 {{{ 63 ## 安装KVM 58 64 yum install kvm qemu-kvm python-virtinst libvirt libvirt-python virt-manager libguestfs-tools policycoreutils-python bridge-utils 59 65 66 ## ifcfg-br0 67 DEVICE=br0 68 TYPE=Bridge 69 ONBOOT=yes 70 NM_CONTROLLED=no 71 BOOTPROTO=static 72 IPADDR=10.1.1.3 73 NETMASK=255.255.255.0 74 75 ## ifcfg-eth0 76 DEVICE=eth0 77 HWADDR=F8:BC:12:46:B9:B9 78 TYPE=Ethernet 79 BRIDGE=br0 80 UUID=5bf0bd52-9408-4782-b2dc-eb2427c75339 81 ONBOOT=yes 82 NM_CONTROLLED=no 83 BOOTPROTO=none 84 85 ## wget http://mirrors.163.com/centos/6/isos/x86_64/CentOS-6.7-x86_64-minimal.iso 60 86 mkdir -p /opt/kvm && qemu-img create -f qcow2 /opt/kvm/template.qcow2 22G 61 87 62 88 virt-install \ 63 --connect qemu:///system \64 89 --virt-type kvm \ 65 90 --description "Which is the template for VMs" \ … … 74 99 --graphics vnc,listen=0.0.0.0 75 100 101 virt-clone \ 102 --original template \ 103 --name test101 \ 104 --file /opt/kvm/test101.qcow2 105 76 106 }}}