Skip to content

Instantly share code, notes, and snippets.

@JonathanTurnock
Last active March 15, 2021 18:48
Show Gist options
  • Save JonathanTurnock/3d095129e9e2bf29ad94bbb12d329277 to your computer and use it in GitHub Desktop.
Save JonathanTurnock/3d095129e9e2bf29ad94bbb12d329277 to your computer and use it in GitHub Desktop.
Centos 8 WS Setup

Setup

Create a new VM using the Centos 8 Latest ISO https://www.centos.org/download/

Virtualbox Guest Additions

Swap to a sudo interactive session

sudo -i

Create a script with the following content and run as sudo

dnf install epel-release -y
dnf install gcc make perl kernel-devel kernel-headers bzip2 dkms -y
dnf update kernel-* -y
reboot now

Insert Guest additions CD and run as prompted then reboot.

Checks

Once back up check the guest additions are running with

lsmod | grep -i vbox

Troubleshooting

Screen not resizing

Config Guest Additions are running and toggle View > Auto-resize Guest Display

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment