Linux 作为 MacOS X 上的来宾:VirtualBox 还是 Parallels?

发布于 2024-09-15 13:53:19 字数 166 浏览 1 评论 0原文

我将在 MacBook Pro 上开发主要 Django 站点,并希望使用 Ubuntu VM 进行测试。

哪种产品更适合此目的?

我可以通过 TCP/IP 连接到 VM(这样我就可以在 VM 上运行 apache 并从 MBP 上的 Safari 访问它)吗?

谢谢!

I'm going to develop mostly Django sites on a MacBook Pro and would like to use Ubuntu VMs for testing purposes.

Which product is better suited for this purpose?

Can I connect to the VM via TCP/IP (so I can have apache running on the VM and access it from Safari on my MBP)?

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

挽心 2024-09-22 13:53:20

使用 VMWARE FUSION 应该可以实现。它具有良好的网络管理,您应该能够通过网络轻松访问您的虚拟机。

It should be possible using VMWARE FUSION. It has a good network management, and you should be able to access easily your vm via network.

可可 2024-09-22 13:53:20

我已成功使用 VirtualBox 和 VMWare Fusion 来实现此目的。在这两个系统上,您可以设置来宾,使其拥有自己的 IP 地址,并通过 HTTP、SSH 甚至本机文件共享连接到它,这样您就可以将来宾的驱动器作为 Mac 的网络驱动器安装,反之亦然。反之亦然。这使得可以在 Mac 上的 Textmate 中进行编辑,但在 VM 上运行服务器。

I've successfully used both VirtualBox and VMWare Fusion for this. On both systems, you can set the guest up so that it has its own IP address, and connect to it via HTTP, SSH and even native file sharing, so you can mount the guest's drive as a network drive from the Mac, and vice versa. This makes it possible to do the editing on the Mac in eg Textmate, but run the server on the VM.

时光暖心i 2024-09-22 13:53:20

我只能告诉您我在 VMWare Fusion 3.0 上使用 Core2Quad Q6600 的经历。我在这个系统上有三个启动分区(嗯,是的,这是一个使用 E-Fix USB 运行的 hackintosh)。

所以我可以进行性能测量。有时我将它用于非常大的编译器会话。令人惊奇的事实是,Linux 作为来宾在虚拟化 Linux 和本机 Linux 上运行时没有任何可测量的时间差异。另一方面,Windows7 在我的机器上只运行了 40%,GUI 几乎无法使用,而最新 Ubuntu 的 GNOME 桌面仍然可以正常工作。

看看这个。 Virtual Box 是免费的,因此没有什么可丢失的。

I can only tell you about my experiences with a Core2Quad Q6600 on VMWare Fusion 3.0. I have three boot partitions on this system (ahem yes it is a hackintosh running with the E-Fix USB).

So i can do performance measurements. I use it for sometimes very large compiler sessions. And the amazing fact was that Linux as a Guest runs without any measureable time difference on virtualised and native Linux. Windows7 on the other hand only runs with 40% on my machine and GUI is allmost non useable while the GNOME Desktop from latest Ubuntu still works fine.

Check this out. Virtual Box is free so there is nothing to loose.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文