👤
Home Man
Search
Today's Posts
Register

Xen, VMWare, hypervisors, Amazon Elastic Computing Cloud, EC2, virtual storage, Amazon S3 and other cloud computing topics.

Installing CentOS 5.5 on Virtual Box

👤 Login to reply

 
Thread Tools Search this Thread
# 1  
Old 01-03-2011
Installing CentOS 5.5 on Virtual Box

Hi,

I have installed VirtualBox, downloaded CentOS 5.5 and created a VirtualMachine where i have installed the 'server' versión of CentOS 5.5

As I installed Virtual Box a new network device appeared '192.16.1.250' in my 'real' machine. I was unable to reach my webserver so i istalled CentOS once more with the server gui trying to get more information... inside my vm my IP is 10.0.2.15 i can reach apache using localhost or 10.0.2.15 but i can't reach my server from outside the vm... i have tried both 192.162.1.250 and 10.0.2.15 from other computers in the same net, but i dont any respone.

I can load websites in my vm so i have internet access. I have disabled the firewall in the vm but that doesn't solve the problem... any clue where the problem is?
# 2  
Old 01-03-2011
With Virtual Box I've always added a host only virtual network card in order to reach the guest from the host:

Code:
File -> Preferences -> Network -> Add Host Only Network.

Then configure your guest to use it (through the settings menu).

I'm sure I'm missing something, but this one always worked.
# 3  
Old 01-03-2011
Quote:
Originally Posted by radoulov
With Virtual Box I've always added a host only virtual network card in order to reach the guest from the host:

Code:
File -> Preferences -> Network -> Add Host Only Network.

Then configure your guest to use it (through the settings menu).

I'm sure I'm missing something, but this one always worked.
I will try and post, thx.

---------- Post updated at 09:06 AM ---------- Previous update was at 08:39 AM ----------

I have done as you told me and now the vm centos machine, takes some minutes 'Determinig IP information for eth0' and ends up with an error...
# 4  
Old 01-03-2011
You should leave eth0 as is: dynamic IP with NAT.
You should add/configure another Network Adapter on the VM that
uses the new host only network: go to the settings of the VM:

Code:
Network -> Adapter 2 (I'm not sure about the exact translation, I have it in Italian :)) 
-> Select Host Only Network and then select the newly created 
network.

# 5  
Old 01-05-2011
Quote:
You should leave eth0 as is: dynamic IP with NAT.
You should add/configure another Network Adapter on the VM that
uses the new host only network: go to the settings of the VM:
Done, doesn't work for me.

I was making some tests with these options and i made it work with the 'Bridge Adapter' option. But i guess that if so i can only have 1 VM on this machine...

However i'm only building the server for development pruposes so it will be enought.

Thanks for the help.
# 6  
Old 01-05-2011
If you decide to try it again later, let me know. Currently on my notebook
I have a two node Oracle 11gR2 RAC, and a three node Oracle Application Server,
all with static IP addresses, without any problem.
Actually, there is one: 6G of RAM are insufficient to start all five nodes at the same time .
👤 Login to reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Hack a centos Linux box chuikingman Red Hat 1 04-14-2014 02:50 AM
ssh on virtual box (4.0.4) chercheur857 IP Networking 1 06-01-2012 03:38 AM
Change hostID of Solaris 10 virtual/guest machine installed by Virtual Box 4.1.12 on Windows-XP host Matt_VB Solaris 4 04-29-2012 11:56 AM
Resizing root virtual disk on the CentOS bobby320 Red Hat 1 01-21-2012 01:03 AM
Sun Virtual box Sojourner UNIX for Dummies Questions & Answers 2 07-12-2011 09:00 AM
deleted a virtual machine with critical data under CentOS starriol Red Hat 2 01-20-2011 11:00 AM
Virtual Box Xterra Windows & DOS: Issues & Discussions 4 06-30-2010 05:34 PM
virtual box images BG_JrAdmin Solaris 1 01-20-2010 05:08 PM
CentOS, Fedora & RedHat in 1 box raybakh Ubuntu 23 10-02-2006 10:02 PM


All times are GMT -4. The time now is 01:54 PM.

Unix & Linux Forums Content Copyright©1993-2018. All Rights Reserved.
×
UNIX.COM Login
Username:
Password:  
Show Password