![]() $ vagrant plugin install vagrant-hostmanager $ sudo dnf install -y vagrant vagrant-libvirt libvirt-develįinally, install some useful vagrant plugins, but before we need to install. If you prefer to use Vagrant with KVM, make sure to install libvirt Run the following commands: $ echo "export VAGRANT_DEFAULT_PROVIDER=virtualbox" > ~/.bashrc Instead you need to set an environment variable for it. Note that Fedora use libvirt as default provider, so to use Virtualbox Run the following commands to install Vagrant: $ sudo dnf install vagrant Which was created automatically during Virtualbox installation.Īdd your username to vboxusers group # usermod -a -G vboxusers username In order to use VirtualBox, a user must be member of vboxusers group Last command will build needed kernel modules, in case you need in theįuture to rebuild them, you can use the following command: # /usr/lib/virtualbox/vboxdrv.sh setup Glibc-devel kernel-headers kernel-devel dkms Install VirtualBox dependencies: # dnf install binutils gcc make patch libgomp glibc-headers \ If you got a kernel update then reboot your system. ![]() Should match: # rpm -qa kernel |sort -V |tail -n 1 VirtualBox InstallationĪdd VirtualBox repository and update your system: $ sudo su -Įnsure that you are running latest installed kernel version, you canĬheck it by comparing the output of following commands, version numbers UPDATE : This play is also working on the brand new Fedora 24 with just a glitch about few missing headers files, see my note at the end. Here I'll show you how to install them on Fedora 23. ![]() Vagrant and Virtualbox provide an easy way to create, configure and
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |