November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Categories

November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Install KVM on CentOS 7

yum -y install qemu-kvm qemu-img libvirt virt-install bridge-utils

lsmod | grep kvm

systemctl start libvirtd
systemctl enable libvirtd

RHEL 7 notes
To list all currently loaded service units:
systemctl list-units –type service

To list all installed service units:
systemctl list-unit-files –type service

Lists currently loaded target units:
systemctl list-units –type target

Changes the current target:
systemctl isolate name.target

systemctl get-default

systemctl set-default name.target

systemctl rescue  (single user mode)

resetting root password:
edit boot kernel line, insert init=/bin/bash, remove rhgb,quiet
mount -o remount,rw /
passwd
exec /sbin/init ( or exec /sbin/reboot )

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>