标签:apt des halt log ack 图形化 网络虚拟化 source lis
Ubuntu16.4
首先安装KVM所需要的包
sudo apt-get install qemu-kvm qemu-system libvirt-bin virt-manager bridge-utils vlan
说明:
1.qemu-kvm 和 qemu-system 是KVM和QEMU的核心包,提供CPU,内存,和IO虚拟化功能!
2.libvirt-bin 就是libvirt,用于管理KVM等Hypervisor。
3.virt-manager是KVM的图形化管理工具。
4.bridge-utils 和 vlan 主要是用做网络虚拟化的。另外,KVM的网络虚拟化的实现是基于linux-bridge 和VLAN。
安装图形化界面(Ubuntu默认是不安装图形界面的,请手工安装)
sudo apt-get install xinit sudo apt-get install gdm sudo apt-get install kubuntu-desktop
apt 会默认到ubuntu官网下载,所以我们这里需要配置国内源(ubuntu16.04),下载速度较快。
vi /etc/apt/source.list
deb http://mirrors.163.com/ubuntu/ xenial main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ xenial-security main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ xenial-updates main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ xenial-proposed main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ xenial-backports main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ xenial main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ xenial-security main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ xenial-updates main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ xenial-proposed main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ xenial-backports main restricted universe multiverse
-------------------------------------------------------------------------------------------------------
每日分享之基础篇
关机命令:
halt #立即关机
poweroff #立即关机
shutdown -h now
shutdown -h 10
shutdown -h 20:35
重启命令:
reboot
shutdown -r now
shutdown -r 10
shutdown -r 20:10
防火墙:sudo ufw enable | disable
标签:apt des halt log ack 图形化 网络虚拟化 source lis
原文地址:http://www.cnblogs.com/ryuu-lsl/p/7815241.html