I'm trying to set up a few VMs of ubuntu on my windows 7 machine. I need the machines to be able to ping each other and I would like to assign them a FQDN
.
The purpose of this project is to set up a hadoop cluster. I'm following the instructions here.
The fully qualified domain name (FQDN) for each host in your system, and which component(s) you wish to set up on which host. The Ambari install wizard does not support using IP addresses. You can use hostname -f to check for the FQDN if you do not know it.
I've edited /etc/hosts
:
127.0.0.1 localhost
10.0.0.1 base.localdomain base
How can I assign FQDN to each VM, and make sure the machines can see each other? I'm using virtualbox.
I do not have DNS. My VirtualBox is set up as NAT and all defaults.
/etc/hosts
files on each and every machine?