首页 > 其他 > 详细

KVM安装环境准备及安装(1)

时间:2014-03-01 16:27:28      阅读:636      评论:0      收藏:0      [点我收藏+]

KVM必须要求CPU支持硬件虚拟化:

1.进入物理机的BIOS设置打开CPU的虚拟化。

2.VMware勾选两个选项

bubuko.com,布布扣



安装KVM:

yum groupinstall "Virtualization"
yum groupinstall "Virtualization Platform" "Virtualization Client"
service libvirtd start


libvirt是一套免费、开源的支持Linux下主流虚拟化工具的C函数库,其旨在为包括Xen在内的各种虚拟化工具提供一套方便、可靠的编程接口,支持与C,C++,Ruby,Python等多种主流开发语言的绑定。当前主流Linux平台上默认的虚拟化管理工具virt-manager(图形化),virt-install(命令行模式)等均基于libvirt开发而成。

Libvirt 库是一种实现 Linux 虚拟化功能的 Linux API,它支持各种虚拟机监控程序,包括 Xen 和 KVM,以及 QEMU 和用于其他操作系统的一些虚拟产品。


创建桥接设备:

virsh iface-bridge eth0 br0

查询virsh iface-bridge 相关帮助

[root@localhost repodata]# virsh  help iface-bridge
  NAME
    iface-bridge - create a bridge device and attach an existing network device to it
  SYNOPSIS
    iface-bridge <interface> <bridge> [--no-stp] [--delay <number>] [--no-start]
  DESCRIPTION
    bridge an existing network device
  OPTIONS
    [--interface] <string>  existing interface name
    [--bridge] <string>  new bridge device name
    --no-stp         do not enable STP for this bridge
    --delay <number>  number of seconds to squelch traffic on newly connected ports
    --no-start       don‘t start the bridge immediately


KVM安装环境准备及安装(1),布布扣,bubuko.com

KVM安装环境准备及安装(1)

原文:http://wang390750.blog.51cto.com/8599831/1365085

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!