Installing CentOS 5.5 on Virtual Box

 
Thread Tools Search this Thread
Special Forums UNIX and Linux Applications Virtualization and Cloud Computing Installing CentOS 5.5 on Virtual Box
# 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 Smilie.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

Hack a centos Linux box

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... (1 Reply)
Discussion started by: chuikingman
1 Replies

2. IP Networking

ssh on virtual box (4.0.4)

Hello, I have two virtual machines ubuntu on virtual box vm1 and vm2 , i'd like to use ssh to connect from vm1 to vm2, please what's the configuration should do? Thank you (1 Reply)
Discussion started by: chercheur857
1 Replies

3. Solaris

Change hostID of Solaris 10 virtual/guest machine installed by Virtual Box 4.1.12 on Windows-XP host

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... (4 Replies)
Discussion started by: Matt_VB
4 Replies

4. Red Hat

Resizing root virtual disk on the CentOS

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 /... (1 Reply)
Discussion started by: bobby320
1 Replies

5. UNIX for Dummies Questions & Answers

Sun Virtual box

hi Am Using Windows vista machine where i installed Sun Virtual Box on Which i installled Solaris 10.. am not able to ping my windows machine from Sun OS neither viceversa.. Can someone help me out to get this sorted please .... (2 Replies)
Discussion started by: Sojourner
2 Replies

6. Red Hat

deleted a virtual machine with critical data under CentOS

Hi all, I'm in a pretty messed-up situation, hope you can give me a hand. I deleted by accident a folder containing a VMware server virtual machine, that contains most critical information. The host OS is CentOS 5.5, which I believe by default uses Ext3. I shut down the PC intermediately... (2 Replies)
Discussion started by: starriol
2 Replies

7. Windows & DOS: Issues & Discussions

Virtual Box

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. (4 Replies)
Discussion started by: Xterra
4 Replies

8. Solaris

virtual box images

Does anyone know if you can use a virtual box image on different O/S's and be able to move it from one server to another of different O/S if needed? (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies

9. Ubuntu

CentOS, Fedora & RedHat in 1 box

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... (23 Replies)
Discussion started by: raybakh
23 Replies
Login or Register to Ask a Question