1 [email protected]:~$ sudo apt-get install build-essential 2 [email protected]:~$ sudo apt-get install libxml2 libxml2-dev 3 [email protected]:~$ sudo apt-get install gnutls-bin libgnutls-dev 4 [email protected]tu:~$ sudo apt-get install libdevmapper1.02.1 libdevmapper-dev 5 [email protected]:~$ sudo apt-get install python-dev 6 [email protected]:~$ sudo apt-get install libneon27-gnutls libcurl4-gnutls-dev 7 [email protected]:~$ sudo apt-get install libnl-dev 8 [email protected]:~$ sudo apt-get install libpciaccess-dev
去libvirt官网下载.tar源码
[email protected]:~$ tar -zvxf libvirt-1.1.3.tar.gz
进入解压后的文件中,执行:
[email protected]:~/download/libvirt-1.1.3$ ./configure [email protected]:~/download/libvirt-1.1.3$ sudo make [email protected]:~/download/libvirt-1.1.3$ sudo make install
启动后台
[email protected]:~$ libvirtd -d
时间: 2024-10-05 18:07:31