Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I recently purchased a Mac and installed VMware Fusion and Ubuntu. I've setup LAMP on Ubuntu and setup a mirrored folder between the mac and ubuntu.

I want to be able to do my development on the Mac with the projects folder in the mirrored folder. I'd like to be able to access the sites (being run on the VM Ubuntu), via browser on the Mac-side as well.

How do I setup my hosts to recognize the sites setup on Ubuntu? Basically, I think I have things setup properly, but where do I go from here?

Thank you!

share|improve this question

migrated from serverfault.com Feb 27 '12 at 15:11

This question came from our site for professional system and network administrators.

add comment

1 Answer

up vote 1 down vote accepted

If I'm getting you right and LAMP is already running, the only thing that must be set up is a network card in fusion. It can be configured as Host-Only, NAT or Bridged depending on your needs beside your dev. If this is done, just type the IP of your Ubuntu into the addressbar of any browser on the mac.

If you need to access it over names just edit your Macs hosts file. Or use a tool I wrote called "ManageDSCL" it's an applescript wraping OSX' "Directory Service command line utility".

share|improve this answer
1  
Thanks you! That did it. –  dave Feb 27 '12 at 0:02
add comment

Your Answer

 
discard

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.