Last active
July 9, 2019 00:14
-
-
Save harmandeep-singh/11aba2f40803d0b22f0ced90eb875ee4 to your computer and use it in GitHub Desktop.
Install VirtualBox Guest Additions for Ubuntu Server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//1. Create a Dirctory in /media/cdrom | |
sudo mkdir /media/cdrom | |
//2. Mount the CD-ROM | |
sudo mount /dev/cdrom /media/cdrom | |
//3. Change into the mounted directory | |
cd /media/cdrom | |
//4. Install the necessary dependencies | |
sudo apt-get install -y dkms build-essential linux-headers-generic linux-headers-$(uname -r) | |
//5. Change to the root user with the command | |
sudo su | |
//6. Install the Guest Additions package | |
./VBoxLinuxAdditions.run | |
//7. Reboot VM | |
reboot | |
//8. verify the Guest Additions installation was successful | |
lsmod | grep -io vboxguest | |
//9. view the details of module | |
modinfo vboxguest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment