VirtualBox, Linux, networking

  jtt89 20 Nov 11
Locked

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.

  jtt89 20 Nov 11

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...

Advertisement

This thread is now locked and can not be replied to.

Windows 10 Home vs Windows 10 Pro comparison: Here are the extra features you get in the Pro version

Why Formula-e needs to go faster

How Found created this skateboard, bike and parkour stunts-laden, single-take car ad

Apple Pay UK launch date, UK user guide and participating UK banks | Apple Pay to launch in UK on 1?…

We use cookies to provide you with a better experience. If you continue to use this site, we'll assume you're happy with this. Alternatively, click here to find out how to manage these cookies

hide cookie message