Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 542 Bytes

0624.md

File metadata and controls

28 lines (21 loc) · 542 Bytes

0624

KVM

$ dnf install -y libvirt qemu-kvm

$ dnf install -y cockpit cockpit-ws cockpit-machines

$ systemctl enable --now libvirtd

$ systemctl enable --now cockpit.socket


$ curl -OJL http://mirror01.idc.hinet.net/centos/8/isos/x86_64/CentOS-8.2.2004-x86_64-boot.iso

lsblk
$ mkfs.xfs /dev/nvme0n2
$ ls -l /var/lib/libvirt/images
$ blkid
$ vi /etc/fstab
$ df -h
$ mount -a
$ df -h
$ ll
$ rm -rf CentOS-8.2.2004-x86_64-dvd1.iso
$ cp CentOS-8.2.2004-x86_64-boot.iso /var/lib/libvirt/images/
$ ls -l /var/lib/libvirt/images