A
A
Alexander2017-01-08 19:06:13
linux
Alexander, 2017-01-08 19:06:13

What is the best way to transfer files to a virtual machine in VirtualBox?

Installed a virtual machine on VirtualBox. The host machine is Windows, the guest machine is Ubuntu. I installed LAMP and a few other utilities (like phpUnit, composer) on the guest machine. Now I want to edit the code on my host machine and run it on the guest. Question: what is the best way to carry out the process of uploading files? Create a shared folder or transfer everything via SSH? Or are there any more automated convenient ways?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Saboteur, 2017-01-08
@Dredder

SSH, of course.

D
DVoropaev, 2017-01-08
@DVoropaev

In such cases, he himself used the virtualbox function - a shared folder. The only caveat is that the guest room sees it as a remote hard drive.

S
Smithson, 2017-01-08
@Smithson

ssh (scp) or ftp. Unix in a virtual machine is not much different from unix on a server.
It is not necessary to file unnatural protocols like samba to unix. Don't get used to what.

A
Alexander Taratin, 2017-01-09
@Taraflex

Vagrant

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question