Lib1_0.8.2 installation (method 1)

Source: Internet
Author: User

Download from http://www.libw..org/downloads.html
Lib1_0.8.2.tar.gz

 

Decompress:
# Tar-xzvf lib1_0.8.2.tar.gz
# Cd lib1_0.8.2
Set the installation path for configure. Set the python header file address
#./Configure -- prefix =/usr cppflags =-I/usr/include/python2.4
# Make
# Make install

 

Set libvirt Runtime Environment (64-bit environment ):
CP-RF/usr/lib/libvirt */usr/lib64/

Modify the libvirt. conf file to support non-root user connections.
Vim/etc/libvirt/lib1_d. conf

Remove the comments of the following options:
# Unix_sock_group = "libvirt"
# Unix_sock_rw_perms = "0770"
# Unix_sock_dir = "/var/run/libvirt"
# Auth_unix_ro = "NONE"
# Auth_unix_rw = "NONE"

 

If you encounter the following problem (in the NC. Log File ):
[Mon Aug 2 13:08:30 2010] [000433] [eucaerror] libvirt: cannot find qemu binary/usr/bin/KVM: no such file or directory (code = 38)

You can create a connection to/usr/libexec/qemu-KVM in the/usr/bin directory.

 

Then add the User Name of the libvirt service to the libvirt group, for example:

Usermod-G libvirt Eucalyptus

 

Another problem is that earlier libvirt versions, such as 0.6.3, do not support the SCSI format for virtual machines ...... After libvirt is upgraded, you may encounter VGA display problems. You need to upgrade the kernel version.

PS: The system is centos5.4

Method 1 ends here.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.