Center OS KVM安装配置手册.doc
《Center OS KVM安装配置手册.doc》由会员分享,可在线阅读,更多相关《Center OS KVM安装配置手册.doc(8页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、-作者xxxx-日期xxxxCenter OS KVM安装配置手册【精品文档】KVM安装配置手册一检查确认服务器是否开启CPU虚拟化功能# lsmod | grep kvmkvm_intel 170086 0kvm 566340 1 kvm_intelirqbypass 13503 1 kvm# echo ulimit -SHn 65535 /etc/profile# source /etc/profile# ulimit n# yum check-update & yum updaye -y# yum groupinstall “Development Tools”二KVM Network#
2、yum install -ybridge-utils新增网桥设备br0配置文件#vim /etc/sysconfig/network-scripts/ifcfg-br0DEVICE=br0ONBOOT=yesTYPE=BridgeBOOTPROTO=staticDEFROUTE=yesNM_CONTROLLED=no修改ifcfg-em1:# cat /etc/sysconfig/network-scripts/ifcfg-em1TYPE=EthernetPROXY_METHOD=noneBROWSER_ONLY=noBOOTPROTO=noneDEFROUTE=yesIPV4_FAILURE
3、_FATAL=noIPV6INIT=yesIPV6_AUTOCONF=yesIPV6_DEFROUTE=yesIPV6_FAILURE_FATAL=noIPV6_ADDR_GEN_MODE=stable-privacyNAME=em1UUID=c72f60ed-4e17-4297-8a16-ed3c9ab02e7dDEVICE=em1ONBOOT=yes#IPADDR=172.168.1.160#PREFIX=24#GATEWAY=172.168.1.1#DNS1=202.96.209.133#DNS2=114.114.114.114#DNS3=202.96.199.133IPV6_PRIVA
4、CY=noNM_CONTROLLED=noBRIDGE=br0蓝色注释 红色新加# systemctl disable NetworkManager# systemctl stop NetworkManager# systemctl restart network# ifconfig三Install KVM# yum -y install qemu-kvm libvirt virt-install bridge-utils policycoreutils-python# systemctl start libvirtd# systemctl enable libvirtd四安装桥接网络创建br
5、0.xml 配置文件(文件中uuid保证唯一即可br0fb48b969-b9f4-e859-d957-50aedd850fb4 virsh net-undefine br0 删除桥接网络# virsh net-list -all# virsh net-start br0# virsh net-autostart br0# virsh net-list -all# mkdir /var/kvm# semanage fcontext -a -t virt_image_t /var/kvm(/.*)?# restorecon -vvFR /var/kvm/五安装系统CentOS7# qemu-img
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- Center OS KVM安装配置手册 KVM 安装 配置 手册
限制150内