CentOS Stream 8
Sponsored Link

VirtualBox : Install GuestAdditions2021/06/09

 
Install [GuestAdditions] into a Virtual Machine to improve Virtual Machine's System Performance.
On the example below, it shows to install [GuestAdditions] on a Virtual Machine [CentOS_ST8].
[1] Attach [GuestAdditions]' disk to the VM on VirtualBox Host.
The target VM must be stopped.
[root@dlp ~]#
VBoxManage storageattach CentOS_ST8 \
--storagectl CentOS_ST8_SATA \
--port 0 \
--type dvddrive \
--medium /usr/share/virtualbox/VBoxGuestAdditions.iso
[2] Start the VM and login to it, then Install [GuestAdditions] on it.
# install required packages first

[root@guest ~]#
dnf -y upgrade kernel

[root@guest ~]#
dnf -y install gcc make bzip2 kernel-devel elfutils-libelf-devel

[root@guest ~]#
[root@guest ~]#
mount /dev/cdrom /mnt

[root@guest ~]#
cd /mnt

[root@guest mnt]#
./VBoxLinuxAdditions.run

[root@guest mnt]#
[3] After installing [GuestAdditions], System Performance will be improved.
Matched Content