D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Problem in use of VirtualBox to demonstrate a server based software locally on my machine

 


On 14/05/18 11:51, Martin Gautier wrote:
> Using the Virtualbox Manager, open the VM's settings and navigate to the
> Network Settings. What do you have there? I tend to set it to attach as
> a "Bridged" adaptor. I then log into the the server and edit the network
> settings to give it a static IP that matches my subnet - on Ubuntu it's
> /etc/network/interfaces (I don't know what it would be for CentOS)
> 
> You should then be able to access the web interface for your software
> using the IP address you set up. If you want to map this to a hostname,
> edit the hosts file on your parent OS (not the VM).


I regret, I do not understand these instructions.
I do not understand the VirtualBox network settings about 'bridged' and
static IP. Is there an example on a website I can read?

 while I can see in the CentOS root account "/etc/hosts" in a text
editor, I really do not know what should be added, or what it looks like
after adding.
I also tried adding it to my Linux Box "etc/hosts" file in OpenSUSE but
to no avail, presumably this is due to the 'bridged adapter' thing?
-- 
regards
Eion MacDonald

-- 
The Mailing List for the Devon & Cornwall LUG
https://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq