Ubuntu下配置libvirt环境
1 wiz@ubuntu:~$ sudo apt-get install build-essential 2 wiz@ubuntu:~$ sudo apt-get install libxml2 libxml2-dev 3 wiz@ubuntu:~$ sudo apt-get install gnutls-bin libgnutls-dev 4 wiz@ubuntu:~$ sudo apt-get install libdevmapper1.02.1 libdevmapper-dev 5 wiz@ubuntu:~$ sudo apt-get install python-dev 6 wiz@ubuntu:~$ sudo apt-get install libneon27-gnutls libcurl4-gnutls-dev 7 wiz@ubuntu:~$ sudo apt-get install libnl-dev 8 wiz@ubuntu:~$ sudo apt-get install libpciaccess-dev
去libvirt官网下载.tar源码
wiz@ubuntu:~$ tar -zvxf libvirt-1.1.3.tar.gz
进入解压后的文件中,执行:
wiz@ubuntu:~/download/libvirt-1.1.3$ ./configure wiz@ubuntu:~/download/libvirt-1.1.3$ sudo make wiz@ubuntu:~/download/libvirt-1.1.3$ sudo make install
启动后台
wiz@ubuntu:~$ libvirtd -d
posted on 2015-04-20 17:52 Zachary_wiz 阅读(2046) 评论(0) 编辑 收藏 举报