{"id":3593,"date":"2014-09-25T12:06:01","date_gmt":"2014-09-25T04:06:01","guid":{"rendered":"http:\/\/rmohan.com\/?p=3593"},"modified":"2014-09-25T12:11:08","modified_gmt":"2014-09-25T04:11:08","slug":"install-kvm-on-centos-7","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=3593","title":{"rendered":"Install KVM on CentOS 7"},"content":{"rendered":"<p>yum -y install qemu-kvm qemu-img libvirt virt-install bridge-utils<\/p>\n<p>lsmod | grep kvm<\/p>\n<p>systemctl start libvirtd<br \/>\nsystemctl enable libvirtd<\/p>\n<p>RHEL 7 notes<br \/>\nTo list all currently loaded service units:<br \/>\nsystemctl list-units &#8211;type service<\/p>\n<p>To list all installed service units:<br \/>\nsystemctl list-unit-files &#8211;type service<\/p>\n<p>Lists currently loaded target units:<br \/>\nsystemctl list-units &#8211;type target<\/p>\n<p>Changes the current target:<br \/>\nsystemctl isolate name.target<\/p>\n<p>systemctl get-default<\/p>\n<p>systemctl set-default name.target<\/p>\n<p>systemctl rescue\u00a0 (single user mode)<\/p>\n<p>resetting root password:<br \/>\nedit boot kernel line, insert init=\/bin\/bash, remove rhgb,quiet<br \/>\nmount -o remount,rw \/<br \/>\npasswd<br \/>\nexec \/sbin\/init ( or exec \/sbin\/reboot )<\/p>\n","protected":false},"excerpt":{"rendered":"<p>yum -y install qemu-kvm qemu-img libvirt virt-install bridge-utils<\/p>\n<p>lsmod | grep kvm<\/p>\n<p>systemctl start libvirtd systemctl enable libvirtd<\/p>\n<p>RHEL 7 notes To list all currently loaded service units: systemctl list-units &#8211;type service<\/p>\n<p>To list all installed service units: systemctl list-unit-files &#8211;type service<\/p>\n<p>Lists currently loaded target units: systemctl list-units &#8211;type target<\/p>\n<p>Changes the current target: [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/3593"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3593"}],"version-history":[{"count":1,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/3593\/revisions"}],"predecessor-version":[{"id":3594,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/3593\/revisions\/3594"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3593"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3593"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3593"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}