VMWare: Web server on guest OS, accessed from Host?
September 26, 2008 10:40 AM Subscribe
VMWare Fusion as dev server: How can I set things up so I can access a web server running under the guest OS (Red Hat Enterprise Linux 5) from the host machine? Bonus points if it can be done without plugging into an ethernet network.
I've got a web app that will eventually be deployed under Red Hat Enterprise Linux 5, and the client sent me a VMWare image of the production machine so I could test in an environment as similar to theirs as possible (I usually just run the AMP stack under OS X, but they're using older versions of each piece of software, and are unlikely to upgrade soon because of some legacy apps, and we all know php installations vary wildly anyway, so this seems to make sense).
Since I've got VMWare Fusion, I figured this'd be a snap, but there appear to be two challenges:
1) Red Hat Enterprise Linux appears to be expecting an wired Ethernet connection by default. I'm primarily doing work on a MacBook Pro with connectivity done by WiFi. Having to plug in would suck... but this might be the part where getting WiFi to work under Linux would suck more.
2) I'm not sure what tack to take for the general network settings for VMWare (probably "Bridged" or "Host Only"?) and corresponding appropriate TCP/IP settings for the guest OS.
I'd love it if someone could post or point to a comprehensive explanation for making this work, but if you can help with either point #1 or point #2 (or offer any other advice), that'd be great too.