Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a remote CentOS server and i want to recreate, as close to possible, this environment locally on a Mac currently acting as a fileserver to our office to provide a development environment that matches the production and staging environment as closely as is possible. The app is hardcoded in many places to expect directory paths to work as per our CentOS environment - namely /home/USER/public_html/... for each account. PHP is setup to run on our remote servers as DSO with a few additional modules such as mod_deflate running. Is there any reason why this can't be duplicated locally on a Mac in an environment that is close enough to our staging environment to make this workable. Other considerations are the fact i would need a method of dynamically mapping to its local equivalent (maybe by doing something like prefixing with dev. like or suffixing with .local)

share|improve this question

Just install a virtualization software like VMWare Fusion, Virtualbox (which is free) or Parallels, then run CentOS from inside a VM. You can't come closer.

share|improve this answer
i should have pointed out that i may need to share this environment, it could even be put together on another Mac that we currently use as a fileserver – seengee Nov 19 '11 at 15:08
Well, if you can put a VM on the server, you can still share this any way you like. – Sven Nov 19 '11 at 15:19

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.