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.