Install VirtualBox Guest Additions on Fedora 28/29, CentOS 7.6 and Red Hat (RHEL) 7.6

Windows Articles

How to install Lighttpd on Ubuntu 20.04?

There are many web services in Unix but we always look for the one that best suits our needs. In this case,...

How to install Docker on Ubuntu 20.04 / Debian 10?

Docker is a fairly popular technology in today's sysadmin. It is logical to think because it means a complete change in the way images...

How to install Mantis Bug Tracker on Ubuntu 20.04?

Hi, folks. In this post, I will help you to install Mantis Bug Tracker on Ubuntu 20.04 If you...

How to install WordPress with Nginx on Ubuntu 20.04?

Hi, folks. In this post, we will help you install Wordpress with Nginx on Ubuntu 20.04. It's a lot easier than you...

Electron 9.0 available

News has arrived that many developers are going to love. And that is that Electron this great cross-platform application framework has released...
Mel Khamlichi
Mel Khamlichihttp://www.osradar.com
Founder of Osradar, from Amsterdam Netherlands

The VirtualBox Guest Additions consist of device drivers and system applications that optimize the operating system for better performance and usability. i will show you in article how to install Guest additions in Fedora28/28 en Centos 7.

A1. Change to root user

su -  

A2. Make sure that you are running latest kernel

Update virtual machine kernel and reboot

## Fedora 29/28/27/26/25/24/23/22 ##
dnf update 

##  CentOS/RHEL 7/6/ ##
yum update 

reboot

A3. Mount VirtualBox Guest Additions

Click Devices > Install Guest Additions… on VirtualBox

Mount VirtualBox Guest Additions device

mount -r /dev/cdrom /media/ 

A4. Install following packages

On CentOS/Red Hat (RHEL) 7/6/5, EPEL repo is needed

## CentOS 7 and Red Hat (RHEL) 7 ##
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

<## CentOS 6 and Red Hat (RHEL) 6 ##
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
 

Install following packages

dnf install gcc kernel-devel kernel-headers dkms make bzip2 perl

## Fedora 21/ and Older, CentOS/RHEL 7/6/5 ##
yum install gcc kernel-devel kernel-headers dkms make bzip2 perl

A5. Install Guest Additions

cd  /media/ 

#For 32-bit and 64-bit systems run following< ./VBoxLinuxAdditions.run

Output looks like following:

[root@Centosradar ~]# mount  /dev/cdrom   /media/
mount: /dev/sr0 is write-protected, mounting read-only

[root@Centosradar ~]# cd  /media/
[root@Centosradar media]# ./VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.2.22 Guest Additions for Linux........
VirtualBox Guest Additions installer
Copying additional installer modules ...
Installing additional modules ...
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel modules.  This may take a while.
VirtualBox Guest Additions: Starting.

You are Done

A6. Reboot guest system

reboot

Then VirtualBox Guest Additions install is ready.

i have now more options for full screen mode

More articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest article

How to install Lighttpd on Ubuntu 20.04?

There are many web services in Unix but we always look for the one that best suits our needs. In this case,...

How to install Docker on Ubuntu 20.04 / Debian 10?

Docker is a fairly popular technology in today's sysadmin. It is logical to think because it means a complete change in the way images...

How to install Mantis Bug Tracker on Ubuntu 20.04?

Hi, folks. In this post, I will help you to install Mantis Bug Tracker on Ubuntu 20.04 If you...

How to install WordPress with Nginx on Ubuntu 20.04?

Hi, folks. In this post, we will help you install Wordpress with Nginx on Ubuntu 20.04. It's a lot easier than you...

Electron 9.0 available

News has arrived that many developers are going to love. And that is that Electron this great cross-platform application framework has released...