How to config an offline vmware mirror

software development

#1

Warmest Greetings,

I would like to configure a VMWare session to as closely as possible to duplicate my dreamhost config, in order to run local &| offline tests. Also having a general mirror is probably a good idea anyway.

I’ve got MySQL 5.0, Apache 2.0.55 (or whatever), Python, etc… running on the official Ubuntu vmware image. Does anyone here do the same? Any suggestions or ideas? Would a different base OS be better (and which one is being used here, anyway?)

And, for you dreamhost engineers, I think it would be a great idea if you configured one of the VMWare images for us (not with our personal user accounts or anything like that, just the basic config), and then let us download it. Just an idea.

Peace & Blessings,
MIHRlogic

“Do not turn those away who seek their Lord’s Face in the morning and the evening.”


#2

Dreamhost uses Debian on their servers, but I don’t think using the same distro is going to change anything. It’s probably best to use the one you’re most familiar with, since you’re the one that has to keep it up-and-running at home.

I never tried to duplicate their environment, but I’d guess that you might be able to pick up how some things are setup by running a PHP script with phpinfo() in it.

I doubt Dreamhost would want to share any info beyond what we already have access to–especially panel code and anything else below the home directory.

The only thing I do on my computer (using Windows, no less), is setup Apache, PHP & MySQL. Then, I make a folder for each website and use the same directory structure that I have here. If my account & .snapshot backup happen to vanish, I have it here and could upload it again without having to modify anything.

I think the main thing you really need to duplicate on your computer would be coding habits. Obviously, if you need root access to get something to work at home, it won’t be happening at DH. If I’m playing with something at home and have doubts about it working here, I just SSH in and throw up a quick test script to check for problems.

As far as PHP goes, remember that it runs as CGI under your user here, so you might run into some differences if you’re running at as an Apache module at home. I don’t do anything with Perl, Ruby, Python, etc… so I don’t know what you’d run into there.


:stuck_out_tongue: Save up to $96 at Dreamhost with ALMOST97 promo code (I get $1).
Or save $97 with THEFULL97.