

Configure synced folder in Vagrantfile.Lesson SummaryĪs long as you're using basic file sharing (no NFS), it should work "out of the box" for Windows 8, and OSX. you can load a static web page created on your local machine without having to use SCP. After enabling file sharing, you should be able to copy a file into the shared folder in your Vagrantfile and have it automatically appear inside the Vagrant instance. Lesson Outcomesīy the end of this lesson you will be able to share files between your host and guest machines without the use of SCP. Technically, enabling file sharing isn't necessary, but I think you'll agree it is a lot more convenient than SCPing files to your guest server. The files will be immediately shared, and recognized by your server, allowing you to continue working on the files with your favorite IDEs and code editing tools without the upload step. With file sharing enabled you will be able to drap-and-drop files into specific directories within your Vagrant instance using your local file manager (e.g.

You could either use SCP, but we will enable file sharing to make life a lot easier. The same will be true with our Vagrant server: you need a way to get files from your host machine, to the guest server. You can install these required tools with the following command.Typically when we work with a Web server, we edit our files locally, and then "push" them up to our Web server (perhaps using SCP, rsync, Git push, or maybe even FTP). Add the User Account to the VBOXSF User Groupīefore proceeding with the following steps, make sure that you have the VirtualBox Guest Additions installed on your Manjaro or Arch Linux virtual machine.Create a Folder on Your Manjaro/Arch Linux VM.It’s not difficult, just a slight bit different and I will show you here how to share a windows folder with your Manjaro or Arch based Linux VM in VirtualBox. One of those tasks is sharing a folder from my Windows PC through VirtualBox to my Manjaro Linux virtual machine. Completing tasks in Manjaro can be a bit different than in Ubuntu and other Debian Linux variants. There are many Linux distributions out there and many choose Ubuntu or some variant of it, I’ve chosen Manjaro which is an Arch based Linux. I like many others, use a Linux virtual machine in VirtualBox from my Windows PC to do development work.
