Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.


Closed Thread
  Search this Thread
Old 11-20-2011, 04:16 PM   #1
LQ Newbie
Registered: Oct 2011
Posts: 17

Rep: Reputation: Disabled
Win7 - VirtualBox - CentOS6

VB Network settings (info from VB support forum):
2 separate adapters: 1 - Host-only Adapter (to connect CentOS on VB to Win7) and 2 - NAT (to enable Internet access for CentOS).


"With host only networking virtual machines can talk to each other and the host as if they were connected through a physical ehternet switch. Similarly, as with internal networking however, a physical networking interface need not be present, and the virtual machines cannot talk to the world outside the host since they are not connected to a physical networking interface."


"A virtual machine with NAT enabled acts much like a real computer that connects to the Internet through a router. The “router”, in this case, is the VirtualBox networking engine, which maps traffic from and to the virtual machine transparently. The disadvantage of NAT mode is that, much like a private network behind a router, the virtual machine is invisible and unreachable from the outside internet; you cannot run a server this way unless you set up port forwarding."

I looked at some tutorials, but I am stil wondering about few things:

1) Do I need to change the hostname in Linux and assign it a FDQ name etc
2) What configuration changes should I make to /etc/httpd/confg/httpd.confg and /etc/sysconfig/network

I am gonna make MySQL and Apache start after every boot, but then

3) What address am I gonna use in, lets say IE browser on Win to access Apache on Virtual Box
4) How is it gonna work with SHH (what address, do I need ports etc)

5) What are the other settings involved.

There is some info about it on the net, but it's kind of hard to get it all together.
Thank you.
Old 11-20-2011, 04:22 PM   #2
LQ Guru
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate of

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Win7 - VirtualBox - CentOS6 jtt89 Linux - Server 1 11-20-2011 04:55 PM
Win7 - VirtualBox - CentOS6 jtt89 Linux - Networking 1 11-20-2011 04:23 PM
Virtualbox - XP and win7 Cultist Linux - Virtualization and Cloud 1 11-23-2010 06:23 PM
Installing Win7 on VirtualBox for gaming chymeira Linux - Virtualization and Cloud 7 09-15-2010 01:36 AM
VirtualBox Slackware guest on Win7 host -- folder sharing R_Shackleford Slackware 3 07-15-2010 11:29 AM

All times are GMT -5. The time now is 05:07 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration