注意:使用KVM管理虚拟机分命令行和图形化界面两种方式,这里最后一步安装的工具是图形化管理工具

安装前准备

验证CPU是否支持KVM

如果结果中有vmx(Intel)或svm(AMD)字样,就说明CPU的支持的。

egrep '(vmx|svm)' /proc/cpuinfo

关闭SELinux

将/etc/sysconfig/selinux 中的 SELinux=enforcing 修改为 SELinux=disabled

安装一些最基本的服务

yum -y install epel-release net-tools vim unzip zip wget

安装KVM及其依赖项

yum -y install qemu-kvm libvirt virt-install bridge-utils virt-viewer qemu-kvm-tools

验证安装结果

lsmod | grep kvm

开启kvm服务

systemctl start libvirtd && systemctl enable libvirtd
systemctl status libvirtd
systemctl is-enabled libvirtd

安装图形化管理工具

yum install -y virt-manager  #安装KVM 图形化管理工具

最新文章

  1. Xcode Shortcuts
  2. iOS Auto Layout
  3. js 字符串类型转为数组类型
  4. linux 将foo制定n, m之间行的内容, 追加到bar文件
  5. 设置VS2010中自带的ActiveX控件测试容器TstCon
  6. 微信支付-b
  7. 绕过图片格式限制上传木马获取WebShell
  8. poj 1681 Painter's Problem
  9. OpenMP 并行化处理测试
  10. django: template using & debug
  11. Android onSaveInstanceState()
  12. Block 再学习 !
  13. 团队作业4——第一次项目冲刺(Alpha版本)2nd day
  14. 【Python】Talk Python To Me Podcast播客
  15. Android 之dragger使用
  16. springboot 整合 mybatis
  17. Linux之常识小结[版本]
  18. Wannafly挑战赛21 E 未来城市规划
  19. linux 查看磁盘读写:iostat
  20. 大数据 - spark-sql 常用命令

热门文章

  1. CSS Houdini:用浏览器引擎实现高级CSS效果
  2. 使用APICloud AVM框架开发预约应用
  3. vue3代码编写
  4. 图论板子总结 / Graph Summary
  5. go交叉编译,部署到linux上出现cannot execute binray file的解决方案
  6. for循环和while循环dowhile循环
  7. Python 懂车帝口碑分爬虫
  8. .NET CORE 读书笔记之与.NET Framework对比
  9. 青峰Flutter视频播放软件
  10. 论文解读(g-U-Nets)《Graph U-Nets》