E
E
EvgMul2015-12-09 14:10:00
linux
EvgMul, 2015-12-09 14:10:00

How to implement a network between virtual machines on windows and linux?

The teacher gave the task.
Run 2 virtual machines. One for Windows and one for Linux. On Linux, install Apache-php-mysql and raise the site, and configure the network between machines so that the user under Windiws enters the browser, enters the address of this site and it opens to him.
To be honest, I do not know which side to approach the decision. Those. to raise the server and launch the site without problems, but I find it difficult to make friends with 2 virtual machines.
Prompt in what direction to dig.
Thanks in advance to all who respond.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
MetaDone, 2015-12-09
@MetaDone

If you just have 2 virtual machines and you need to open a site from Windows - write in the hosts ip of the second machine and the local address of the site, for example
192.168.1.100 example.loc
On the machine with the site in Apache there should be such a site with the domain example.loc

M
Max, 2015-12-09
@MaxDukov

What's the problem? if both are on the same host, everything should work by itself. If on different - make both a bridge type connection - they will have to see each other.

O
Oleg Tsilyurik, 2015-12-09
@Olej

Prompt in what direction to dig.

"that 2 fingers..." ;-)
1. Install VirtualBox: VirtualBox (resources and features) (it's easier and faster with VirtualBox).
2. It is better to take a Linux image ready-made here: pre-installed images for VitrualBox
3. You will have to install the Windows virtual machine completely from the installation DVD (or ISO file)
4. set up the network (between): network settings of different VMs (VirtualBox)
That's all your stand ready...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question