fbpx

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

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

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