![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
运维|libvirt应用技术
libvirt应用技术
梦醒贰零壹柒
这个作者很懒,什么都没留下…
展开
-
[运维] 在CentOS8安装部署gingerbase、ginger
系统环境说明系统:CentOS-8.2.2004平台:x86-64依赖安装gingerbase、ginger是wok的插件,需要先安装wok,安装方法见[运维] 在CentOS8安装部署wok。其他运行依赖安装dnf install python3-libuserpip install python-augeas netaddr pycryptodome使用到的工具安装git安装dnf install gitgingerbase安装源代码下载采用编译安装,源代码获取#原创 2020-12-09 20:08:22 · 343 阅读 · 0 评论 -
[运维] libvirt虚拟机常用操作(持续更新)
Vmvare虚拟机vmdk格式转换为 qcow2格式原创 2020-12-22 14:52:37 · 169 阅读 · 0 评论 -
[运维] 在debian系统上安装部署wok(持续更新)
系统环境说明系统:CentOS-8.2.2004平台:x86-64使用到的工具安装git安装dnf install git软件下载采用编译安装,源代码获取git clone https://github.com/kimchi-project/wok.git源代码从github签出速度比较慢,可以使用国内镜像加速,使用国内镜像加速方法见Github国内mirror加速,加速镜像见GitHub 加速镜像依赖安装编译依赖安装wok编译需要automake、gcc 、make 等依赖原创 2020-12-17 12:33:46 · 609 阅读 · 0 评论 -
[运维] 在debian安装部署kimchi
系统环境说明系统:Debian 10 buster平台:x86-64使用到的工具安装git安装sudo apt install git软件下载采用编译安装,源代码获取# 使用gitee加速获取源代码git clone https://gitee.com/mirrors/kimchi.git# 使用加速站git clone https://hub.fastgit.org/kimchi-project/kimchi.git# github上获取源代码git clone https原创 2020-12-18 00:14:31 · 516 阅读 · 0 评论 -
[运维|kimchi] kimchi使用文档(持续更新)
使用本地iso镜像将ISO镜像拷贝到kimchi的ISO默认目录下cp CentOS-8.2.2004-x86_64-dvd1.iso /var/lib/kimchi/isos然后在界面点击添加模板,即可看到CentOS本地镜像原创 2020-10-26 14:40:39 · 286 阅读 · 0 评论 -
[运维] kimchi配置noVNC
sudo apt install -y systemd logrotate python3-psutil python3-ldap python3-lxml python3-websockify python3-jsonschema openssl nginx python3-cherrypy3 python3-cheetah python-pam python-m2crypto gettext python3-opensslsudo apt install qemu qemu-kvmsudo ap原创 2020-10-23 17:00:37 · 520 阅读 · 0 评论 -
[运维] linux上安装libvirt
说明安装libvirt时会自动安装KVM虚拟机deepin系统系统环境说明系统:Deepin V20 社区版(1003)平台:amd64安装安装libvirt服务端sudo apt install libvirt-daemon-system安装libvirt客户端(上述命令也会自动安装客户端)sudo apt install libvirt-clientsCentos系统系统环境说明系统:CentOS-8.2.2004平台:amd64安装安装libvirt服务端原创 2020-11-25 19:58:01 · 2227 阅读 · 0 评论 -
[运维] virsh、virt使用语法说明(持续更新)
安装libvirt-clinetyum install libvirt-client参数说明virsh [options]... [<command_string>]virsh [options]... <command> [args...] options: -c | --connect=URI hypervisor connection URI -d | --debug=NUM debug level [0-4] -原创 2020-10-15 23:39:31 · 989 阅读 · 2 评论 -
[运维] 在CentOS8安装部署kimchi
sudo apt install git#加速站git clone https://gitee.com/mirrors/kimchi.git#git clone https://github.com/kimchi-project/kimchi.git# 安装依赖sudo apt install -y gcc make autoconf automake git python3-pip python3-requests python3-mock gettext pkgconf xsltproc p原创 2020-10-21 23:18:23 · 1077 阅读 · 0 评论 -
[运维] 在CentOS8系统上安装部署wok
系统环境说明系统:CentOS8平台:x86-64使用到的工具安装git安装dnf install git软件下载采用编译安装,源代码获取git clone https://github.com/kimchi-project/wok.git源代码从github签出速度比较慢,可以使用国内镜像加速,使用国内镜像加速方法见(Github国内mirror加速)[]...原创 2020-10-21 22:59:54 · 757 阅读 · 0 评论 -
[运维|KVM|kimchi] 创建KVM虚拟机镜像模板,并且在kimchi管理界面使用KVM虚拟机模板
说明宿主机系统系统:CentOS8.2.2004安装镜像ISO系统:CentOS-7-x86_64-Minimal-2003.iso参考文献创建kvm虚拟机模板,及以模板新建虚拟机virt-sysprep命令清理缓存文件时失败的解决方法Ubuntu下将img 转化成iso工具安装清理虚拟机临时及缓存文件工具dnf install libguestfs-tools安装虚拟机系统下载最小化ISO镜像,安装时使用整块硬盘。启动网卡systemctl start ne原创 2020-10-27 22:56:51 · 592 阅读 · 0 评论 -
[运维] Centos7安装oVirt
参考文献Install oVirt using the command line安装添加官方源sudo dnf install https://resources.ovirt.org/pub/yum-repo/ovirt-release43.rpm更新系统sudo dnf update安装oVirt Enginesudo dnf install -y ovirt-engine启动oVirt Enginesudo engine-setup...原创 2022-02-15 09:36:40 · 823 阅读 · 0 评论 -
[运维|virsh]virsh 命令行管理虚拟机
重用命令和选项1:查看运行的虚拟机virsh list2:查看所有的虚拟机(关闭和运行的虚拟机)virsh list --all3:连接虚拟机virsh console +域名(虚拟机的名称)4:退出虚拟机ctrl+]5:关闭虚拟机5.1virsh shutdown +域名5.2virsh destroy +域名这种方式的关闭,是一种删除的方式,只是在virsh list中删除了该虚拟机。6:挂起虚拟机virsh suspend +域名7:恢复被挂起的虚拟机转载 2021-03-11 17:10:05 · 651 阅读 · 0 评论 -
[运维] libvirt命令行启动虚拟机
请注意,上述命令是基本示例,具体的命令和选项可能会因您的系统和libvirt配置而有所不同。确保在使用之前查阅相关文档或手册,以了解适用于您的系统的确切命令和选项。您还可以使用virsh define命令定义虚拟机配置,然后使用virsh start命令启动它。替换为您要启动的虚拟机的域名或ID。这将启动指定的虚拟机。替换为虚拟机配置文件的路径。如果您想指定虚拟机的启动选项,可以使用。文件,用于指定虚拟机的配置和启动选项。是包含虚拟机配置的XML文件的路径,而。是虚拟机的域名或ID。原创 2023-05-25 21:23:07 · 1488 阅读 · 0 评论 -
[运维] 在CentOS7系统上安装部署wok
系统环境说明系统:CentOS-7-x86_64-2009平台:x86-64使用到的工具安装git安装dnf install git软件下载采用编译安装,源代码获取git clone https://github.com/kimchi-project/wok.git源代码从github签出速度比较慢,可以使用国内镜像加速,使用国内镜像加速方法见Github国内mirror加速,加速镜像见GitHub 加速镜像依赖安装编译依赖安装wok编译需要automake、gcc 、mak原创 2022-02-10 18:45:13 · 539 阅读 · 0 评论