Objective

The objective is to install VirtualBox Guest Additions on CentOS 7 Linux

Operating System and Software Versions

  • Operating System: - CentOS Linux release 7.5.1804 (Core)

Requirements

Privileged access to your Ubuntu System as root or via sudo command is required.

Difficulty

EASY

Conventions

  • # - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
  • $ - given linux commands to be executed as a regular non-privileged user

Instructions

Install Prerequsites

First step is to install all prerequisites. Let's start by enabling the EPEL repository:
$ sudo rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
Next, execute the bellow linux command to install all prerequsites:
$ sudo yum install perl gcc dkms kernel-devel kernel-headers make bzip2
Confirm that kernel-headers installed are matching your currently running kernel:
$ ls -l /usr/src/kernels/$(uname -r)
The above command should produce a list of kernel header files.


Install VirtualBox Guest Additions

Insert Guest Additions CD image
On your Virtualbox window navigate to Devices-->Insert Guest Additions CD image...
start the Guest Additions installation
Click on Run to start the Guest Additions installation.


enter root password
Enter your administrative password.
VirtualBox Guest Additions on CentOS 7 Linux
VirtualBox Guest Additions on CentOS 7 Linux
All done. Reboot your system.
ARE YOU LOOKING FOR A LINUX JOB?
Submit your RESUME or create a JOB ALERT on LinuxCareers.com job portal.
DO YOU NEED ADDITIONAL HELP?
Get extra help by visiting our LINUX FORUM or simply use comments below.

You may also be interested in:



Comments and Discussions