1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Virtual Box, Linux , networking

Discussion in 'Networking' started by jtt89, Nov 20, 2011.

Thread Status:
Not open for further replies.
Advertisement
  1. jtt89

    jtt89 Thread Starter

    Joined:
    Nov 20, 2011
    Messages:
    3
    I want to set up LAMP on Virtual Box on Windows7. I am wondering if it is possible to (regular cable modem from ISP connected to desktop through ethernet port, dynamic IP)

    1) Connect from Windows7 to Linux (Apache, MySQL-server, etc...)
    2) Connect from Linux to the Internet
    3) Connect from Windows 7 to the Internet

    ...all at the same time?

    Thank you.
     
  2. DoubleHelix

    DoubleHelix Banned

    Joined:
    Dec 9, 2004
    Messages:
    24,388
    Yes. The virtual machines use virtual networking.
     
  3. jtt89

    jtt89 Thread Starter

    Joined:
    Nov 20, 2011
    Messages:
    3
    From VB support forum I know that I need to have 2 Adapters in Network settings: 1 - Host-only Adapter (to connect CentOS on VB to Win7) and 2 - NAT (to enable Internet access for CentOS).

    Besides that there are some other things, like changing hostname in Linux and making changes in configuration files, like /etc/httpd/config/httpd.config and /etc/sysconfig/network

    Another thing is that I dont know what address to use if I want to connect to Apache from IE on Win7, what address to use with SSH etc...
     
  4. DoubleHelix

    DoubleHelix Banned

    Joined:
    Dec 9, 2004
    Messages:
    24,388
    You've switched from asking how to connect a virtual system to a network to asking all kinds of application specific web hosting questions.
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/1027696

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice