How to install KVM on CentOS 6

Issues related to applications and software problems
Post Reply
G0d-servant
Posts: 6
Joined: 2011/07/17 03:44:11

How to install KVM on CentOS 6

Post by G0d-servant » 2011/08/09 21:07:07

I had 32bit-Centos6 that friends said in irc channel, KVM not installed on 32bit-OS. now i installed 64bit-centos6, but i can't install KVM whit attention wiki. No package available.
[code]root@localhost tux]# yum groupinfo KVM
Loaded plugins: fastestmirror, refresh-packagekit
Setting up Group Process
Loading mirror speeds from cached hostfile
* base: mirror.atrpms.net
* extras: mirror.vit.com.tr
* updates: mirror.vit.com.tr
Warning: Group KVM does not exist.
[/code]
Source List:
[code]
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
#baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
[/code]

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: How to install KVM on CentOS 6

Post by pschaff » 2011/08/13 02:32:34

What does [code]yum list \*kvm\*[/code]show?

If additional help is needed, please show the results of [b]./getinfo.sh package[/b], as detailed in [url=https://www.centos.org/modules/newbb/viewtopic.php?topic_id=25128&forum=47]How To Provide Information About Your System[/url].

h_fat
Posts: 48
Joined: 2007/04/13 17:23:48

Re: How to install KVM on CentOS 6

Post by h_fat » 2011/08/16 18:58:40

My yum doesn't find such a group but that's not an issue.
I don't know what else you want to install but 'yum install kvm' will give you the bare minimum. Depending on what you want to do, other packages are useful obviously like tunctl for bridge networking.

User avatar
toracat
Site Admin
Posts: 7518
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

How to install KVM on CentOS 6

Post by toracat » 2011/08/16 20:15:49

I strongly recommend that you read through the documentation:

http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html-single/Virtualization/index.html

For example, section 5.2 has "Installing the KVM hypervisor with yum" which, I believe, is what you are looking for.

larwood
Posts: 66
Joined: 2011/07/27 12:07:30
Location: Perth WA, Australia

Re: How to install KVM on CentOS 6

Post by larwood » 2011/08/18 14:18:21

# yum -y groupinstall Virtualization*

Post Reply