0

I'm running VMWare Fusion and have an Ubuntu VM. I've setup a ton of configurations and would like to save this to an ISO to deploy to a production environment. Does anyone know if this is possible and what would be the best way to go about doing this?

Thank you!

dzm
  • 101
  • 3
  • 3
    I mean this in the nicest way, but you probably need to contract the heavy technical stuff with an IT consultant. If you do this stuff wrong because you don't understand it, you could easily LOSE all the information you're trying to work with. – Magellan Oct 05 '12 at 03:46
  • Depending on your configuration, even a dd might work, but you DO want it to be done by someone who knows what he's doing. – ignis Feb 07 '13 at 11:44

2 Answers2

1

You don't do it that way.

First, you automate your Ubuntu installation using preseeding.

Then, you use a configuration management tool such as puppet or chef to manage the machines on an ongoing basis.

As for deploying the web application itself, doing this right tends to be highly app-specific, and you really haven't given enough detail to give a good recommendation.

Michael Hampton
  • 244,070
  • 43
  • 506
  • 972
  • Would this allow for copying all data? like `/var/www` content, apache with all sites, and other libraries I have installed? – dzm Oct 05 '12 at 03:41
  • 1
    Oh, you're the developer. Do you not have a system administrator to run the production system? – Michael Hampton Oct 05 '12 at 03:47
1

remastersys in theory should let you create an initial installer ISO with the necessary bits. I'd probably use backup mode (which restores an identical system).

However, you can't actually install from it without a GUI (I usually install a lightweight DM (usually metacity) to the VM, run remastersys, then remove the DM after running the install). Its a rather hacky solution.

I'd really take Michael Hamton's advice about doing it the right way, and Adrian's advice of letting someone who understands the process well to do it. You don't want to end up with a hacked together, half broken system with too much wierdness.

Its worth doing once, well, and right.

Journeyman Geek
  • 6,977
  • 3
  • 32
  • 50