当前位置:网站首页>KVM virtualization job
KVM virtualization job
2022-07-31 10:22:00 【half sea of stars】
1. Deploy the kvm environment.
2. Configure bridge network.
3. Use virt-manager and virt-install to create virtual machines respectively.
4. Add a 2G disk to the virtual machine.Change the virtual machine network to use bridged mode.
5. Create a snapshot of the virtual machine in the shutdown state.
Install the virtual machine, edit the processor of the virtual machine after completion, and enable the virtualization technology in the virtual machine. You can check all three, but the most important one must be selected, choose mirror DVD
strong>

Select GUI

View the virtualization configuration through lscpu

Partitions
gdisk /dev/sdbCreate a virtual machine with virt-manager
[[email protected] ~]# mkdir /data/iso[[email protected] ~]# cd /data/isoLogin using the graphical interface[[email protected] iso]# virt-manager




Don't want to choose or create a custom store in the default directory


Click forward to begin installation
Use virt-install to create a virtual machine
Write via command
[[email protected] iso]# virt-install \> -n winxp \> --graphics vnc,listen=0.0.0.0,port=5990,keymap=en_us \> --ram=384 \> --disk path=/data/vm/winxp.qcow2,size=10,format=qcow2 \> --bridge=virbr0 \> --cdrom=/data/iso/"Windows+XP+SP3+VOL"Connect to vnc

Configuring Bridged Networks
Use virt-manager to enter the graphical interface
Create a disk for the virtual machine
qemu-img create -f qcow2 /vm/libvirt/data/vm1-data.qcow2 2GView disk information
qemu-img check wn.img边栏推荐
- Sql optimization summary!detailed!(Required for the latest interview in 2021)
- In half a month, MySQL has been consolidated again, and a tens of thousands of words "super hard core" article has been sorted out!
- darknet 训练分类网络
- WEB核心【记录网站登录人数,记录用户名案例】Cookie技术实现
- Dart Log tool class
- 半个月时间把MySQL重新巩固了一遍,梳理了一篇几万字 “超硬核” 文章!
- C#之泛型、委托、事件及其使用
- win10镜像下载
- SQL study notes - REGEXP operator
- 【LeetCode】21. 合并两个有序链表
猜你喜欢
随机推荐
如何判断自己是否适合IT行业?方法很简单
力扣shell刷题
SQL学习笔记——REGEXP运算符
The big-eyed Google Chrome has also betrayed, teach you a trick to quickly clear its own ads
【LeetCode】118.杨辉三角
Dart Log工具类
SQL去重的三种方法汇总
细讲DDD领域驱动设计
LeetCode二叉树系列——101.对称二叉树
What is the encoding that starts with ?
Simple understanding of GCD
VMware下安装win10
SQLSERVER将子查询数据合并拼接成一个字段
SQL力扣刷题五
loadrunner录制问题
Android安全专题(三)JNI混淆
win10镜像下载
怎样使用浏览器静默打印网页
&#x开头的是什么编码?
Redis缓存面临的缓存击穿问题









