Server Setup

How to install VirtualBox in RHEL/CentOS 8

by , , revisited on


We have by far the largest RPM repository with dynamic stable NGINX modules and VMODs for Varnish 4.1 and 6.0 LTS. If you want to install nginx, Varnish and lots of useful modules for them, this is your one stop repository to get all performance related software.
You have to maintain an active subscription in order to be able to use the repository!

1. Install Fedora repos

sudo dnf -y install https://extras.getpagespeed.com/release-el8-latest.rpm
sudo dnf install fedora-release

2. Install Virtualbox

sudo su
dnfplus install VirtualBox

3. Install kernel-abi-whitelists

sudo dnf install kernel-abi-whitelists

4. Build necessary modules

akmods; systemctl restart systemd-modules-load.service

5. Rebuild modules automatically

You can enable service to automatically rebuild VirtualBox required kernel modules, after you upgrade to newer kernel:

sudo systemctl enable akmods

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.