Server Setup

How to install VirtualBox in CentOS/RHEL 8

by , , revisited on


We have by far the largest RPM repository with NGINX module packages and VMODs for Varnish. If you want to install NGINX, Varnish, and lots of useful performance/security software with smooth yum upgrades for production use, this is the repository for you.
Active subscription is required.

1. Install Fedora repos

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

2. Install Virtualbox (from upstream Fedora 28 repos)

sudo 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.

%d bloggers like this: