Ubuntu Server - Install VirtualBox Guest Editions
Execute the script below with BASH.
#!/bin/bash # mount the cdrom (this will mount in read-only which is ok) sudo mount /dev/cdrom /media/cdrom # Install the necessary headers sudo apt-get install -y dkms build-essential linux-headers-generic linux-headers-$(uname -r) # now install guest additions sudo /media/cdrom/VBoxLinuxAdditions.run
References
Last updated: 16th August 2018
First published: 16th August 2018
First published: 16th August 2018