Installing CentOS 5.5 on Virtual Box

Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
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  
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  
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  
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  
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  
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 Smilie.
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Hack a centos Linux box
chuikingman
HI, I have a Centos linux box and there is interface connect to internet. I stop the iptables in this box . After a few day , I find the linux box have been hacked and install some perl script into the box . Could anyone tell me how the hacker can login into the centos box without knowing...... Red Hat
1
Red Hat
Change hostID of Solaris 10 virtual/guest machine installed by Virtual Box 4.1.12 on Windows-XP host
Matt_VB
Trying to set or modify the randomly set hostID of a Solaris 10 virtual/guest machine that I installed on a Windows-XP host machine (using Virtual Box 4.1.12). I was able to set/modify the hostname of the Solaris 10 virtual/guest machine during installation as well as via the Virtual Box...... Solaris
4
Solaris
Resizing root virtual disk on the CentOS
bobby320
Hello, Can someone suggest me what I missing, I re-sized a root virtual disk to 30GB on the CentOS VM. After re-sizing the disk, I booted the OS and ran fdisk -list command I was able view the size of the disk as 30GB. Paritions in the vm before I resize are: /boot - Primary parition /...... Red Hat
1
Red Hat
Virtual Box
Xterra
I am trying to create a new virtual machine (Red Hat) but I am getting the following error I am completely new to VB and I am probably missing something. Any help will be greatly appreciated.... Windows & DOS: Issues & Discussions
4
Windows & DOS: Issues & Discussions
CentOS, Fedora & RedHat in 1 box
raybakh
Hi Linux gurus, My boss had asked me to setup a box consisting of this 3 OS (CentOS, Fedora, RedHat) for autopatching. So, whenever there is new patches for CentOS from the internet, this box will grab it, implement it, if tested ok and approved, the patches will then be push to Production...... Ubuntu
23
Ubuntu