Access CentOS 5.6 server running in Parallels from Mac OS X
Hey,
I am using Mac OS X 10.6.7 and Parallels Desktop 6.
My goal is to setup a Linux server in Parallels using the LAMP stack that I can access from the Mac OS environment. I know that I can just use MAMP for local development, but I'm trying to learn a bit more here.
I installed CentOS 5.6 in Parallels and elected to just include server support. I customized the software selection and made sure to select the necessary package groups. I then started apache (service httpd start).
Now I would like to hit the server in Mac OS X. How can I go about doing this?
At the moment, the CentOS vm is set to the vnic0 (Bridged) network adapter.
ifconfig output from in CentOS:
eth0: inet addr: 10.211.55.5, Bcast: 10.211.55.255, Mask: 255.255.255.0
lo: inet addr: 127.0.0.1, Mask: 255.0.0.0
ifconfig output from Mac OS X:
en1: inet 192.168.1.104 netmask 0xffffff00 broadcast 192.168.1.255
vnic0: inet 10.211.55.2 netmask 0xffffff00 broadcast 10.211.55.255
vnic1: inet 10.37.129.2 netmask 0xffffff00 broadcast 10.37.129.255
Any help would be appreciated. Thanks for your time.
Last edited: Apr 23, 2011