Unix/Linux Go Back    


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

Installing CentOS 5.5 on Virtual Box

Virtualization and Cloud Computing


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 01-03-2011
motoko motoko is offline
Registered User
 
Join Date: Jan 2011
Last Activity: 5 January 2011, 3:37 AM EST
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
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?
Sponsored Links
    #2  
Old Unix and Linux 01-03-2011
radoulov's Unix or Linux Image
radoulov radoulov is offline Forum Advisor  
Forum Adviser
 
Join Date: Jan 2007
Last Activity: 9 January 2017, 4:40 AM EST
Location: Варна, България / Milano, Italia
Posts: 5,690
Thanks: 184
Thanked 629 Times in 586 Posts
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.
Sponsored Links
    #3  
Old Unix and Linux 01-03-2011
motoko motoko is offline
Registered User
 
Join Date: Jan 2011
Last Activity: 5 January 2011, 3:37 AM EST
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by radoulov View Post
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 Unix and Linux 01-03-2011
radoulov's Unix or Linux Image
radoulov radoulov is offline Forum Advisor  
Forum Adviser
 
Join Date: Jan 2007
Last Activity: 9 January 2017, 4:40 AM EST
Location: Варна, България / Milano, Italia
Posts: 5,690
Thanks: 184
Thanked 629 Times in 586 Posts
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.

Sponsored Links
    #5  
Old Unix and Linux 01-05-2011
motoko motoko is offline
Registered User
 
Join Date: Jan 2011
Last Activity: 5 January 2011, 3:37 AM EST
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Sponsored Links
    #6  
Old Unix and Linux 01-05-2011
radoulov's Unix or Linux Image
radoulov radoulov is offline Forum Advisor  
Forum Adviser
 
Join Date: Jan 2007
Last Activity: 9 January 2017, 4:40 AM EST
Location: Варна, България / Milano, Italia
Posts: 5,690
Thanks: 184
Thanked 629 Times in 586 Posts
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 Linux.
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
installing phyton in centos programAngel Red Hat 4 11-23-2010 09:10 AM
installing centos dual boot with ubuntu programAngel UNIX for Dummies Questions & Answers 0 11-11-2010 06:02 AM
Mail/ftp/web servers, on VIRTUAL!! dedicated server. Also resource usage. Centos 5. newn UNIX for Dummies Questions & Answers 0 07-07-2010 05:58 PM
Installing CVS on Centos 5.3 mojoman UNIX for Dummies Questions & Answers 2 10-30-2009 01:07 AM
installing psybnc on CentOS wmccull Linux 0 03-05-2008 10:22 PM



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