[1] Instalacja VirtualBox

12 czerwca 2020 Wyłączono przez Adam [zicherka] Nogły

[1] Zainstaluj potrzebne pakiety i zrestartuj system.

# zainstalujemy z EPEL
[root@lsr07vmvb ~]# dnf --enablerepo=epel install gcc make glibc kernel-headers kernel-devel dkms

[root@lsr07vmvb ~]# dnf upgrade kernel

[root@lsr07vmvb ~]# reboot now

[2] Instalujemy VirtualBox

[root@lsr07vmvb ~]# curl http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo -o /etc/yum.repos.d/virtualbox.repo
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 259 100 259 0 0 109 0 0:00:02 0:00:02 --:--:-- 109
[root@lsr07vmvb ~]# dnf search virtualbox
Oracle Linux / RHEL / CentOS-8 / x86_64 - VirtualBox 338 B/s | 181 B 00:00
Oracle Linux / RHEL / CentOS-8 / x86_64 - VirtualBox 1.2 kB/s | 1.7 kB 00:01
Importowanie klucza GPG 0x98AB5139:
Identyfikator użytkownika: „Oracle Corporation (VirtualBox archive signing key) <info@virtualbox.org>”
Odcisk : 7B0F AB3A 13B9 0743 5925 D9C9 5442 2A4B 98AB 5139
Z : https://www.virtualbox.org/download/oracle_vbox.asc
W porządku? [t/N]: t
Oracle Linux / RHEL / CentOS-8 / x86_64 - VirtualBox 209 kB/s | 111 kB 00:00
================================== Dopasowano Nazwa i Podsumowanie: virtualbox ===================================
VirtualBox-5.2.x86_64 : Oracle VM VirtualBox
VirtualBox-6.0.x86_64 : Oracle VM VirtualBox
VirtualBox-6.1.x86_64 : Oracle VM VirtualBox

[root@lsr07vmvb ~]# dnf install VirtualBox-6.1

[root@lsr07vmvb ~]# VBoxManage -v
6.1.10r138449

[3] Zainstaluj paczki rozszerzeń, aby możliwe było używanie VRDP (Virtual Remote Desktop Protocol).

[root@lsr07vmvb ~]# curl -O http://download.virtualbox.org/virtualbox/6.1.0/Oracle_VM_VirtualBox_Extension_Pack-6.1.0.vbox-extpack
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 10.4M 100 10.4M 0 0 3577k 0 0:00:02 0:00:02 --:--:-- 3575k

[root@lsr07vmvb ~]# VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-6.1.0.vbox-extpack
...
...
# zaakceptuj umowę licencyjną
Do you agree to these license terms and conditions (y/n)? y

License accepted. For batch installation add
--accept-license=56be48f923303c8cababb0bb4c478284b688ed23f16d775d729b89a2e8e5f9eb
to the VBoxManage command line.

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Successfully installed "Oracle VM VirtualBox Extension Pack".

[root@lsr07vmvb ~]# VBoxManage list extpacks
Extension Packs: 1
Pack no. 0: Oracle VM VirtualBox Extension Pack
Version: 6.1.0
Revision: 135406
Edition:
Description: Oracle Cloud Infrastructure integration, USB 2.0 and USB 3.0 Host Controller, Host Webcam, VirtualBox RDP, PXE ROM, Disk Encryption, NVMe.
VRDE Module: VBoxVRDP
Usable: true
Why unusable: