Install Vagrant on Arch Linux

For development, Vagrant is the best way to provide a development environment. On Arch Linux some preconditions are needed to be satisfied.



First, you have to install VirtualBox and the host modules

If you use an custom kernel, you should use virtualbox-host-dkms instead. You can find more information in the official wiki.

Now the VirtualBox kernel modules have to be loaded. For auto loading on every start create the following file:

Also, you have load these modules with modprobe MODULNAME .


Many Vagrant boxes are configured to use NFS for sharing the data between host and guest system.  It’s a lot faster than the shared folder from VirtualBox. So install the following packages:

After that, you have to edit some files. First set the  Domain  in (i’ve choosed lan):

If you have a firewall, you have to set static ports, even if not it’s recommended. Modify the following files and add/modify options:


Enable and start rpcbind

Finally we have to start the services

(If you get some errors… try to restart the whole system)


Another option getting popular is rsync. Simply install it via:



Now we can install Vagrant:


Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.