libvirt is a virtualization tool under Linux that supports various virtual machine monitors. How do you install the virtualization tool libvirt? The following small series will introduce you how to install libvirt virtualization tool on Linux, let's get to know it.
installation steps:
by TANG Jia
version of this test is adopted: ubuntu12.04, libvirt1.1.2
mounting libvirt :
1, install virtinst
apt get installvirtinst
Before installing libvirt, first install virtinst in order to make libvirt come with libvirt when installing virtinst. This is very important. Then compile and install libvirt.
2, download libvirt1.1.2, unzip, switch to libvirt1.1.2 directory
Download libvirt archive URL: ftp://libvirt.org/libvirt/
3, if you execute directly. /configure, you will be prompted to get a lot of packages, so install the package first:
apt-get install libxml++2.6-2 libxml++2.6-dev
apt-get install libdevmapper-dev
apt-get install libpciaccess-dev
apt-get install python-dev
apt-get install libnl-dev
4, install dependencies After the package, it is executed in the current directory. /configure--prefix=/usr
(where the --prefix option is the specified installation path).
Execution is successful, some of the output is as follows:
configure:Readline:no
configure:Python:yes
configure:DTrace:no
configure:numad:no
configure:XML Catalog:/etc/xml/catalog
configure:Init script:check
configure:Char device locks:/var /lock
configure:
configure:Privileges
configure:
configure:QEMU:root:root
configure:
5, compile: make
install: makeinstall
At this point libvirtd is installed successfully!
6, start libvirt service
service libvirt-bin start
Everything to note, libvirt-daemon is started by libvirt-bin, not libvirtd, Libvirt-bin is a symbolic link /etc/init.d/libvirt-bin-" /lib/init/upstart-job, which is a shell script.
Similarly, stopping the libvirt service is the service libvrit-bin stop;
The correctness of the above operation is limited to installing libvirt on ubuntu, the focus is on steps 1 and 6, which is online. There are some differences in the installation of libvirt in many blog posts. For example, many do not have step 1, and step 6 starts libvirt as service libvirtd
start, which will report libvirtd:unrecognizedservice.
2nd. The downloading, compiling, and installation of steps 3, 4, and 5 are consistent on any version of Linux.
The above is the introduction of the Linux installation libvirt virtualization tool. It is worth noting that libvirt itself is not a tool, but an API, I hope to help you.
Some Linux users find that the access speed is slow when using the VPN client to connect to the Linu
I have been installing LibreOffice on Linux for a while. I need to uninstall LibreOffice for various
In Linux, users sometimes encounter garbled characters after SecureCRT connects to
In many Linux commands, the cut command can be used to intercept file information and intercept Linu
Modify Linux password prompt it is based on a dictionary word What to do?
Linux how to install and configure rz/sz command
How to install and set up Samba service
How to solve the problem of multi-line display of wget download progress bar in CentOS
Linux system rescue mode operation example
Five Ways to Improve Linux System Security
How does Linux modify the PATH path of sudo?
Linux using the telnet command method
How to use make command in Linux
Ubuntu System Installation Tutorial How to Install Ubuntu System
Notes on using the kill command in Linux
What should I do if I restart the card on the logo screen after installing Ubuntu 11.10?
Microsoft original genuine Win10 U disk out of the box record: handsome stay
How to add "register dll" and "anti-register dll" files to Win7 notebook system
How to change the key to win10?
Solve the problem that Windows 2000 can't start.
Win7 always shows the "software application is not compatible" response
There are some tips for the keys in the Win 7 system. [Figure]
How to set the screen saver password for Win8 system?