当前位置: 首页 > news >正文

详细介绍:麒麟v10服务器安装libvirt

依赖安装

yum install -y qemu-kvm libvirt libvirt-daemon libvirt-daemon-config-network virt-install bridge-utils virt-manager libguestfs-tools xorg-x11-xauth

virt-manager 的配置

这步要打开新的ssh连接页面才会生效

vim /etc/ssh/sshd_config
X11Forwarding yes
systemctl restart sshd

打开新的连接面板,就可使用

virt-manager

检查安装结果

virsh version

根据库编译:libvirt 6.2.0
使用库:libvirt 6.2.0
使用的 API: QEMU 6.2.0
运行管理程序: QEMU 4.1.0

用linux.xml

<domain type='kvm'>
<name>linux-1</name>
<memory unit='KiB'>2097152</memory>
<currentMemory unit='KiB'>2097152</currentMemory>
<vcpu placement='static'>2</vcpu><os><type arch='x86_64' machine='pc-q35-4.1'>hvm</type><boot dev='cdrom'/></os><cpu mode='custom' match='exact' check='none'><model fallback='forbid'>qemu64</model></cpu><clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash><devices><emulator>/usr/bin/qemu-kvm</emulator><disk type='file' device='disk'><driver name='qemu' type='qcow2'/><source file='/var/lib/libvirt/images/linux.qcow2'/><target dev='vda' bus='virtio'/><address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
http://www.jsqmd.com/news/2119/

相关文章:

  • WEB项目引入druid监控配置
  • Computer Graphics Tutorial
  • CF1874(CF Round 901) 总结
  • 9.23 资料分析 7/10
  • 2. Spring AI 快速入门使用 - Rainbow
  • PyCharm 2025.1安装包下载与安装教程
  • 阿里将发布多模态模型 Qwen3-Omni,主打多语言与复杂推理;DeepvBrowser 上线 AI 语音浏览器丨日报
  • Word文档内容批量替换脚本 - wanghongwei
  • VMware ESXi 磁盘置备类型详解
  • EF 数据迁移生成sql脚本
  • HWiNFO 硬件信息检测工具下载与安装教程
  • 第七章 手写数字识别V1
  • 西电PCB设计指南1~2章学习笔记
  • QBtn 组件go参数类型错误解决方案
  • 1. 大模型的选择详细分析 - Rainbow
  • 云计算实践部署笔记
  • [eJOI 2024] 奶酪交易 / Cheese
  • 逆向分析之switch语句
  • 批量查询设计桩号方法及文件格式
  • 搭建Python的运行开发环境
  • 详细介绍:树上LCA和树链剖分(未完待续)
  • 【HBase 原理操作 01】
  • 打破数据壁垒,DMS Data Agent 开启智能分析之旅
  • 无人机、人形机器人 —— 电池电压(电量)对运行状态的影响
  • 若依前后端版本-综合QA
  • tests-stats/regression.sh
  • 光隔离探头技术解析:高电压测量的安全革命​​
  • freertos.c解析 - 教程
  • 从缺陷管理到质量协作:现代Bug工具的范式升级
  • 【html组件】简易漫画阅读器