Networking & Wireless forum

General discussion

Virtual Box, Linux , networking

by jtt89 / November 19, 2011 9:18 PM PST

<font size="2" face="Verdana">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?

you.<!-- /post --> </font>

Discussion is locked
You are posting a reply to: Virtual Box, Linux , networking
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: Virtual Box, Linux , networking
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
Don't see why not.
by R. Proffitt Forum moderator / November 20, 2011 3:09 AM PST

But this is where your average new to networking person may wonder why their web server is not found on the internet.

Collapse -
by jtt89 / November 20, 2011 5:44 AM PST

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

Popular Forums
Computer Newbies 10,686 discussions
Computer Help 54,365 discussions
Laptops 21,181 discussions
Networking & Wireless 16,313 discussions
Phones 17,137 discussions
Security 31,287 discussions
TVs & Home Theaters 22,101 discussions
Windows 7 8,164 discussions
Windows 10 2,657 discussions


Your favorite shows are back!

Don’t miss your dramas, sitcoms and reality shows. Find out when and where they’re airing!