- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
kvm详解(KVM explain)
kvm详解(KVM explain)
KVM
Hardware: CPU must be 64 bits
CPU must support Virtualization: VMX, SVM
Software platform:
Rhel6 64 bit
Memory virtualization is done by the KVM module in Kernel.
CPU virtual directly has hardware CPU virtualization technology to complete.
The I/O device is implemented by the QEMU system process, with each client having an independent process.
Let the system support KVM virtualization
Yum install qemu-kvm -y #
# ll /dev/kvm
Crw-rw-rw-+ 1, root, KVM 10, 2321, 12, 13:59, /dev/kvm
Install some tools for easy use
Yum install libvirt libvirt-python python-virtinst virt-manager # virt-viewer qemu-kvm-tools -y
Libvirt - - provides libvritd services and provides a standard virtualization interface library
Python-virtinst command line to install the client
Virt-manager graphical interface management KVM
Virt-viewer uses the VNC protocol to connect to the clients tools
Qemu-kvm-tools mirror management, snapshots and other tools
Ensure that the libvirtd service is started and KVM can work properly.
Example 1: build a bridge network for KVM on the host
# VIM /etc/sysconfig/network-scripts/ifcfg-br0
DEVICE=br0
ONBOOT=yes
BOOTPROTO=static
IPADDR=1
NETMASK=
NM_CONTROLLED=no although the interface does not accept NetworkManager service management
Although this is a TYPE=Bridge interface, note: B must be capitalized.
DEVICE=br0
ONBOOT=yes
BOOTPROTO=static
IPADDR=1
NETMASK=
NM_CONTROLLED=no
TYPE=Bridge
VIM /etc/sysconfig/network-scripts/ifcfg-eth0
# mii-tool eth0
Eth0:, negotiated, 100baseTx-FD, flow-control, link, OK
# VIM /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
HWADDR=14:da:e9:eb:a9:61
NM_CONTROLLED=no although the interface does not accept NetworkManager service management
ONBOOT=yes
TYPE=Ethernet
Although BRIDGE=br0 is the virtual network card BR0 Bridge
It is strongly recommended that the NetworkManager service be turned off and the boot does not start
# chkconfig NetworkManager off
# service NetworkManager stop
# service netwo
您可能关注的文档
- 4线法(4 wire method).doc
- 5 荆轲刺秦王(The 5 emperor and the assassin).doc
- 333《教育综合》考试大纲 - 南京师范大学724(333 comprehensive education examination outline - Nanjing Normal University, 724).doc
- 5.4推荐作品(5.4 recommended works).doc
- 500-实华学校2010年精神文明工作计划(500- Shihua school 2010 work plan of spiritual civilization).doc
- 4s店售后管理制度(The 4S shop customer service management system).doc
- 50种酱汁做法(50 sauces).doc
- 555大全(555 books).doc
- 58中庸8二十一至二十四章(58, moderation, 8, twenty-one to twenty-four chapters).doc
- 57-《在日常教育教学中如何全面开展和落实安全教育》(57- how to carry out and carry out safety education in daily education and teaching).doc
- kz抗震盆式橡胶支座(KZ anti shock basin type rubber bearing).doc
- k线图详解(Never explain).doc
- lady呱呱超模现场更衣与个性营销(Lady quack supermodel, on-site dressing and personality marketing).doc
- lbb的团队之惑(LBB's team confusion).doc
- lamp搭建步骤(灯搭建步骤).doc
- lamp搭建(灯搭建).doc
- learnsite平台搭建说明(LearnSite平台搭建说明).doc
- led显示屏原理与维护3(LED display principle and maintenance 3).doc
- led驱动电源方案大全(LED drive power program Daquan).doc
- liaoning(辽宁).doc
文档评论(0)