Chinaunix首页 | 论坛 | 博客
  • 博客访问: 270841
  • 博文数量: 78
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 852
  • 用 户 组: 普通用户
  • 注册时间: 2013-05-06 11:01
个人简介

不做第二个别人,永远做第一个自己。

文章分类

全部博文(78)

文章存档

2014年(60)

2013年(18)

分类: 虚拟化

2014-04-10 11:10:10

[2] Install KVM
[root@cloud01 ~]# yum -y install qemu-kvm libvirt python-virtinst bridge-utils

# make sure modules are loaded
[root@cloud01 ~]# lsmod | grep kvm
kvm_intel 53484 0
kvm 316506 1 kvm_intel
[root@cloud01 ~]# /etc/rc.d/init.d/libvirtd start
Starting libvirtd daemon: 2013-09-27 09:00:21.581+0000: 2289: info : libvirt version: 0.10.2, package: 18.el6_4.14 (CentOS BuildSystem , 2013-09-19-19:15:27, c6b8.bsys.dev.centos.org)
2013-09-27 09:00:21.581+0000: 2289: warning : virGetHostname:2266 : getaddrinfo failed for ‘cloud01′: Name or service not known
[ OK ]
[root@cloud01 ~]# vim /etc/hosts/
# last line add $yourip $hostname
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.1.198 cloud01
[root@cloud01 ~]# /etc/rc.d/init.d/libvirtd restart
Stopping libvirtd daemon: [ OK ]
Starting libvirtd daemon: [ OK ]

[root@cloud01 ~]# /etc/rc.d/init.d/messagebus start
Starting system message bus: [ OK ]
[root@cloud01 ~]# chkconfig libvirtd on
[root@cloud01 ~]# chkconfig messagebus on]

阅读(762) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~