Build your ideal system on your isolated machine. Once you have it built (Perl / DBD modules / apache / mod_perl / mod_ssl / database / etc), take a snapshot. Ghost is good for this, but any backup/restore will do.

I strongly agree with most of your points, but taking snapshots is a very effective way to be in the same boat a few years down the road when you have to do the migration again. Especially if your starting point involves cloning a developer desktop machine. You might as well be doing brain surgery in a crack house!

I've been down the system cloning road and here's what I do to avoid it:

The thing you want to do, while you're building your ideal system, is to document the living daylights out of the setup process and automate as many steps as possible. For example, rather than documenting all 50 CPAN modules you need to install, create a new module with all the dependencies already mapped out (Makefile.PL's PM_PREREQ, for example). Installing it should suck in everything else you need. Put your web server configurations into your SCM.

The final goal is that a literate monkey can take bare metal and some CD-ROMs and just build your ideal system from scratch in a few hours. Repeatedly. And if it's not the identical O/S with the identical version of perl, apache, etc, having a repeatable process should work around all the little details like binary compatibility and whatnot. As long as it passes the acceptance tests. That's a non-negotiable failure point.

c.


In reply to Re^2: Finally! Saying goodbye to perl 5.005 by beauregard
in thread Finally! Saying goodbye to perl 5.005 by the_slycer

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.