Ubuntu下安装KVM
来源:互联网 发布:数据采集控制箱 编辑:程序博客网 时间:2024/06/15 18:29
安装KVM
$sudo update
$sudo apt-get install bridge-utils kvm libvirt-binvirt-manager
添加用户到libvirtd
$sudo adduser $userlibvirtd
$sudo reboot//不重启打开virt-manager会报错
$ sudo vim/etc/network/interfaces
# This file describes the network interfaces available onyour system
# and how to activate them. For more information, seeinterfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet manual
auto br0
iface br0 inet static
address 192.168.1.118
network 192.168.0.0
netmask 255.255.255.0
broadcast 192.168.0.255
gateway 192.168.1.1
dns-nameservers 8.8.8.8202.106.0.20
bridge_ports eth0
bridge_fd 9
bridge_hello 2
bridge_maxage 12
bridge_stp off
上面是配置静态ip的,如果动态ip就更简单了,添加如下即可
# This file describes the network interfaces available onyour system
# and how to activate them. For more information, seeinterfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet manual
auto br0
iface br0 inet dhcp
bridge_ports eth0
bridge_stp off
bridge_fd 0
网卡配置完,最好重启一下,然后就用virtual-manager来创建虚拟机了
- Ubuntu下安装KVM
- ubuntu下安装kvm
- ubuntu下安装kvm
- ubuntu下安装kvm虚拟机
- 如何在ubuntu下安装kvm
- Ubuntu下安装搭建KVM环境完整版
- Ubuntu下KVM的安装配置
- Ubuntu下kvm和xen安装
- 在Ubuntu下编译安装kvm
- kvm下安装系统(桥接,ubuntu)
- ubuntu下安装使用vmware、kvm、xen
- Ubuntu下KVM的安装配置
- Ubuntu下安装和配置KVM
- ubuntu 下安装KVM虚拟化
- ubuntu下使用KVM
- Ubuntu安装KVM虚拟机
- Ubuntu 12.04 安装KVM
- ubuntu 安装 kvm
- ubuntu下安装wine QQ
- 安装bumblebee解决双显卡笔记本安…
- 搭建svn版本管理器
- ubuntu常用设置
- Effective C++ 学习笔记1
- Ubuntu下安装KVM
- 搭建nagios监控
- 搭建cacti监控
- mysql主从同步
- LAMP
- LNMP+ZendGuardLoader+eAccelerato
- HTTP请求方法
- vsftp虚拟用户
- Nginx负载均衡配置文件