Last active
March 25, 2018 12:14
-
-
Save TsutomuNakamura/01acf6982ee34d7e4e11 to your computer and use it in GitHub Desktop.
あらゆるLinux にKVMをインストールする ref: http://qiita.com/TsutomuNakamura/items/bb5cd1bcbf1b998941ed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# egrep -c '(vmx|svm)' /proc/cpuinfo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# lsmod | grep kvm | |
kvm_intel 143592 0 | |
kvm 459835 1 kvm_intel |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ip link show virbr0 | |
3: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default | |
link/ether 52:54:00:63:13:ae brd ff:ff:ff:ff:ff:ff |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://www-01.ibm.com/support/knowledgecenter/linuxonibm/liabo/liabokickoff.htm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# systemctl start libvirtd | |
# systemctl enable libvirtd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# yum install kvm virt-manager libvirt libvirt-python python-virtinst |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo service libvirt-bin start | |
$ sudo update-rc.d libvirt-bin defaults |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo apt-get install kvm virt-manager libvirt-bin bridge-utils |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment