TypechoJoeTheme

主机评测

主机评测

专注VPS评测和优惠码发布

一、部署KVM

2022-03-26
/
0 评论
/
976 阅读
/
正在检测是否收录...
03/26

刻录CentOS-7-x86_64-Minimal-1611.iso安装centos.7.3,安装完成之后上传或者下载CentOS-7-x86_64-DVD-1611.iso到系统里面

[root@localhost ~]# mkdir /mnt/cdrom
[root@localhost ~]# mount -o loop -t iso9660 /home/iso/CentOS-7-x86_64-DVD-1611.iso /mnt/cdrom/
[root@localhost ~]# cd /etc/yum.repos.d/
[root@localhost ~]# mkdir repos.bak && mv *.repo repos.bak/
[root@localhost ~]# vi CentOS-Local.repo
[localcdrom]
name=CentOS-$releasever -Local CDROM
baseurl=file:///mnt/cdrom
gpgcheck=0
enabled=1
[root@localhost ~]# yum clean all
[root@localhost ~]# yum install qemu-kvm qemu-img virt-manager libvirt libvirt-python libvirt-client virt-install virt-viewer virt-top gpxe-roms-qemu bridge-utils -y
[root@localhost ~]# systemctl start libvirtd
[root@localhost ~]# systemctl enable libvirtd
[root@localhost ~]# yum install "@X Window System" xorg-x11-xauth xorg-x11-fonts-* xorg-x11-utils -y
[root@localhost ~]# reboot

kvm
朗读

赞 · 0
赞赏
感谢您的支持,我会继续努力哒!
打开手机扫一扫,即可进行打赏哦!
版权属于:

主机评测

本文链接:

https://zjpc.cc/1088.html(转载时请注明本文出处及文章链接)

评论 (0)