Getting CentOS to work as a webserver

Discussion in 'Installation and Configuration of Parallels Desktop' started by shamoon, Jul 13, 2008.

  1. shamoon

    shamoon Bit poster

    Messages:
    5
    Hello all,
    So I'm trying to set up a CentOS machine on my Mac OS X as a LAMP server. I set up CentOS just fine, but it doesn't seem to have an Internet connection of any kind (which is fine for most of the time, but I need to download a few packages).

    Also, from my Mac, how can I access the CentOS as a server?

    Thanks kindly!
     
  2. John@Parallels

    John@Parallels Forum Maven

    Messages:
    6,333
    What
    ifconfig -a
    shows in Mac and Linux
     
  3. shamoon

    shamoon Bit poster

    Messages:
    5
    The black screen with white text is the CentOS. The blue screen with the black text is my Mac.
     

    Attached Files:

    • wr.jpg
      wr.jpg
      File size:
      27.3 KB
      Views:
      11
    • photo.jpg
      photo.jpg
      File size:
      75.2 KB
      Views:
      12
  4. shamoon

    shamoon Bit poster

    Messages:
    5
    I now have internet access in the CentOS machine and I can ping it from the Mac.. but I can't access the webserver. I have Apache installed, but I can't access it by going to: http://10.211.55.8/

    Any thoughts?
     
  5. John@Parallels

    John@Parallels Forum Maven

    Messages:
    6,333
  6. shamoon

    shamoon Bit poster

    Messages:
    5
    How do I set a static IP address? Should I be using host-only or shared-networking mode?
     
  7. John@Parallels

    John@Parallels Forum Maven

    Messages:
    6,333
    sudo system-config-network
    and set IP in the same range as Mac OS, also you need to enable redirection on router
     
  8. shamoon

    shamoon Bit poster

    Messages:
    5
    When I turn off my WiFi.. this is what my Mac ifconfig looks like:

    I set the static IP on my CentOS to: 10.37.129.10. Still no luck. Thoughts?
     
  9. John@Parallels

    John@Parallels Forum Maven

    Messages:
    6,333
    Do you want to access server from Internet or from Mac? , I still cannot understand it
    And what is Network Setting for VM shared or host-only?
     

Share This Page