In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article is about how to install VirtualBox 6.0on CentOS 8/RHEL 8, the editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article, not to say much, follow the editor to have a look.
VirtualBox is a free and open source virtualization tool that allows technicians to run multiple different styles of virtual machines (VM) at the same time. It is usually used to run desktops (Linux and Windows), and it is very convenient when people try to explore the features of new Linux distributions or want to install software such as OpenStack, Ansible, and Puppet in VM, in which case we can use VirtualBox to start VM.
VirtualBox is classified as a Class 2 hypervisor, which means it requires an existing operating system on which to install VirtualBox software. VirtualBox provides functionality to create a native network or NAT network. In this article, we will demonstrate how to install the latest version of VirtualBox 6.0 on CentOS 8 and RHEL 8 systems, as well as how to install the VirtualBox extension.
Installation step 1 for installing VirtualBox 6.0on CentOS 8 / RHEL 8: enable VirtualBox and EPEL repository
Log in to your CentOS 8 or RHEL 8 system and open the terminal, execute the following command and enable the VirtualBox and EPEL package repository:
[root@linuxtechi ~] # dnf config-manager-- add-repo= https://download.virtualbox.org/virtualbox/rpm/el/virtualbox.repo
Use the following rpm command to import the Oracle VirtualBox public key:
[root@linuxtechi ~] # rpm-- import https://www.virtualbox.org/download/oracle_vbox.asc
Use the following dnf command to enable the EPEL warehouse:
[root@linuxtechi ~] # dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm-y step 2: install VirtualBox build tools and dependencies
Run the following command to install all VirtualBox build tools and dependencies:
[root@linuxtechi ~] # dnf install binutils kernel-devel kernel-headers libgomp make patch gcc glibc-headers glibc-devel dkms-y
After successfully installing the above dependencies and build tools, use the dnf command to continue installing VirtualBox.
Step 3: install VirtualBox 6.0on CentOS 8 / RHEL 8
If you want to list the available versions of VirtualBox before installation, execute the following dnf command:
[root@linuxtechi] # dnf search virtualboxLast metadata expiration check: 0:14:36 ago on Sun 17 Nov 2019 04:13:16 AM GMT.= Summary & Name Matched: virtualbox = VirtualBox-5.2.x86_64: Oracle VM VirtualBoxVirtualBox-6.0.x86_64: Oracle VM VirtualBox [root@linuxtechi] #
Let's install the latest version of VirtualBox 6.0 using the following dnf command:
[root@linuxtechi ~] # dnf install VirtualBox-6.0-y
If there is a local user who wants to connect the usb device to the VirtualBox VM, he / she should be a member of the vboxusers group, use the following usermod command to add the local user to the vboxusers group.
[root@linuxtechi ~] # usermod-aG vboxusers pkumar step 4: access VirtualBox on CentOS 8 / RHEL 8
There are two ways to access VirtualBox, enter virtualbox on the command line and press enter:
[root@linuxtechi ~] # virtualbox
In the desktop environment, search for "VirtualBox" in the search box.
Access-VirtualBox-CentOS8
Click the VirtualBox icon:
VirtualBox-CentOS8
This confirms that VirtualBox 6. 0 has been successfully installed. Let's install its expansion pack.
Step 5: install the VirtualBox 6.0expansion pack
As the name implies, the VirtualBox expansion pack is used to extend the functionality of VirtualBox. It adds the following features:
USB 2.0 and USB 3.0 support
Virtual RDP (VRDP)
Disk image encryption
Intel PXE start
Host webcam
Download the Virtualbox expansion pack to the download folder using the following wget command:
[root@linuxtechi ~] $cd Downloads/ [root@linuxtechi Downloads] $wget https://download.virtualbox.org/virtualbox/6.0.14/Oracle_VM_VirtualBox_Extension_Pack-6.0.14.vbox-extpack
After downloading, open VirtualBox and click "File-> Preferences-> Extension", then click the "+" icon to add the downloaded expansion pack:
Install-VirtualBox-Extension-Pack-CentOS8
Click "Install" to begin installing the expansion pack:
Accept-VirtualBox-Extension-Pack-License-CentOS8
Click "I Agree" to accept the VirtualBox expansion pack license.
After successfully installing the VirtualBox expansion pack, we will see the following page, click "OK" and start using VirtualBox.
VirtualBox-Extension-Pack-Install-Message-CentOS8
The above is how to install VirtualBox 6.0on CentOS 8/RHEL 8. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.