开发者

Is there a virt-manager alternative for Mac OS X? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

Closed 5 years ago.

  • We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
  • This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.

This post was edited and submitted for review 1 year ago and failed to reopen the post:

Original close reason(s) were not resolved

开发者_如何转开发 Improve this question

It is common that programmers will need to interface with virtual-machines in their day-to-day workflows, and one popular way of doing so on Linux and Windows systems is with virt-manager.

Is their a way to get virt-manager or a similar alternative running on a MacOS machine?


There's now a brew formula homebrew-virt-manager which I've used to successfully connect to a CentOS 5 box running qemu+kvm.

brew tap jeffreywildman/homebrew-virt-manager
brew install virt-manager virt-viewer
sudo ln -s /usr/bin/python /usr/bin/python2
virt-manager -c qemu+ssh://user@libvirthost/system?socket=/var/run/libvirt/libvirt-sock


sadly no, you can however install virt-manager on a linux box and run it on your mac desktop through vnc and X11.

what you need to do is start X11, open xterm (command + N), type ssh -X user@linux-box, then type virt-manager once logged on.


Same problem here, tried several solutions and workarounds, and found that for managing virtual machines on a remote Qemu/KVM server nothing is as reliable and comfortable than a GNU/Linux system running virt-manager.

Our best solution so far is to install Virtualbox in MacOS to run a Lubuntu LTS system with virt-manager.

We found Lubuntu excellent for this purpose: it just works, it's easy to use and requires few resources to run (it can use less than 300 MB of RAM to run virt-manager and 3-4 SPICE clients). You can save this Virtualbox machine state when you don't need it, and restore it in a few seconds when needed.

Moreover, there's irony in running a virtual machine locally to manage remote virtual machines! :-)


Update

Someone prepared a vagrantfile to quickly setup an Ubuntu virtual machine and run virt-manager via ssh. See:

https://st-g.de/2016/08/virt-manager-in-vagrant


AFAIK no, but you can use it alright if you do this:

  1. install (in the host) the NoMachine NX server
  2. install the NX client on your mac
  3. login from the mac
  4. fix the keyboard issues following these instructions
  5. open virt-manager in the gnome session in your server/host (that you are using via the NX client)
  6. have fun
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜