最近很多人锐速装不上来找我,最后发现是 Openvz 的机子。。。 Openvz 的机子是装不了锐速的。。一般主机商在发布产品的时候一定会告知是 openvz 还是 kvm 还是 xen 或者是 vmare ,如果你确实没注意,又不确定是什么类型的虚拟化技术的话,那就可以通过下面这个命令来检测。
wget -N --no-check-certificate https://raw.githubusercontent.com/91yun/code/master/vm_check.sh && bash vm_check.sh
代码运行结束就会在最后一行显示虚拟化技术: kvm 还是 openv 或者是 xen 一目了然。
hyperv怎么整
谢谢分享
config.status: executing depfiles commands
vm_check.sh: line 9: make: command not found
vm_check.sh: line 10: virt-what: command not found
hyperv 可以吗
make[1]: Leaving directory `/root/virt-what-1.12′
openvz
kvm
是不是同时支持这两个
好惨:
checking for a BSD-compatible install… /usr/bin/install -c
checking whether build environment is sane… yes
checking for a thread-safe mkdir -p… /bin/mkdir -p
checking for gawk… gawk
checking whether make sets $(MAKE)… yes
checking for style of include used by make… GNU
checking for gcc… no
checking for cc… no
checking for cl.exe… no
configure: error: in `/root/virt-what-1.12′:
configure: error: no acceptable C compiler found in $PATH
See `config.log’ for more details
make: *** No targets specified and no makefile found. Stop.
vm_check.sh: line 10: virt-what: command not found