CentOS Stream 9
Sponsored Link

VirtualBox : Install GuestAdditions
2022/12/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_ST9].
[1] Attach [GuestAdditions]' disk to the VM on VirtualBox Host. The target VM must be stopped.
[root@dlp ~]#
VBoxManage storageattach CentOS_ST9 \
--storagectl CentOS_ST9_SATA \
--port 0 \
--type dvddrive \
--medium /usr/share/virtualbox/VBoxGuestAdditions.iso
[2] Start the VM and login to it, then Install [GuestAdditions] on it.
[root@guest ~]#
dnf -y install kernel-devel-$(uname -r) gcc gcc-c++ make bzip2 elfutils-libelf-devel

[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