使用virtualbox方便安装和备份
我们最近创建了一个产品,在部署时需要非常长且困难的配置。因此我正在考虑使用 virtualbox 创建一个虚拟机,其中包含配置的产品并将其安装在生产中。 这是个好主意吗? virtualbox 是否足够稳定以支持这种使用?
谢谢。
We have recently created a product that need a very long and hard configuration when it's deployed .So i'm thinking of creating a virtual machine with virtualbox that contains the product configured and install it in production .
Is this a good idea ?
Is virtualbox stable enough to support this kind of use ?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我出于同样的目的使用VirtualBox,它非常稳定。只是不要认为这样的测试对于您的产品来说就足够了。您仍然需要使用真实的计算机,但使用 VirtualBox 可以节省大量开发人员时间和资源。
I use VirtualBox for the same purposes, it is very stable. Just don't think that such test is enough for your product. You still need to work with real computer, but using VirtualBox may save a lot of developer time and resources.
我认为这是可行的,实际上有一些网站提供预配置的应用程序:
BitNami
turnkeylinux
I think it is workable, There are actually some sites supply pre-configed applications:
BitNami
turnkeylinux
希望我的死灵帖子能增加一些价值……
这是在 Linux 上运行的服务器类型产品(客户端-服务器模型;或使用 WebUI)吗?假设是这样,我认为通过虚拟机映像进行分发是一个好方法。
但为什么要把自己限制在一种图像类型呢?尤其是对于生产使用来说并不是非常理想的一种。为什么不支持大多数大型虚拟化提供商(和裸机)!?
只要您可以编写安装脚本(并且几乎总有一种方法可以实现)并且它可以在 Debian 上运行,那么您就可以在不同构建类型(包括 OVA、VMDK、混合 ISO)的负载中构建自己的软件设备等)使用 TurnKey Linux 的 TKLDev 构建引擎。它(尚)不支持的主要 VM 平台是 Hyper-V,但可以安装 ISO。
Hopefully my necro-posting adds some value...
Is this is a server type product that runs on Linux (either client-server model; or with a WebUI)? Assuming that it is, I think distributing via a vm image is a good way to go.
But why lock yourself down to one image type? Especially one that is not really ideal for Production usage. Why not support most of the big virtualization providers (and bare metal)!?
So long as you can script the install (and there's almost always a way that you can) and it will work on Debian, then you can build yourself a software appliance in a load of different build types (inc. OVA, VMDK, hybrid ISO etc) using TurnKey Linux's TKLDev build engine. The major VM platform that it doesn't (yet) support is Hyper-V but the ISO installs.