In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-11 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you how to install virtual machine software VirtualBox under Linux, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's learn about it!
VirtualBox is claimed to be the strongest free virtual machine software, which not only has rich features, but also has excellent performance. It is easy to use, and virtual systems include Windows, [Mac OS X], Linux, OpenBSD, Solaris, IBM OS2 and even Android operating systems.
1. Switch between ROOT user su-# # or # # sudo-i2. Install the Fedora or RHEL warehouse index file cd / etc/yum.repos.d/## Fedora 26, userswget 24, 23, 22, 20, 19, 18, 17, 16, http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo##, CentOS, 7.4, 6.9 and Red Hat (RHEL) 7.4, 6.9 userswget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo3.. Update the package, update the kernel # # Fedora 26 Fedora 25 yum update4 24 dnf update## Fedora 22 # # dnf update## Fedora 21 Unix 20 Charger 19 18 Grem16 and CentOS/RHEL 7-6-5 # # Unix. Check whether the kernel has successfully updated rpm-qa kernel | sort-V | tail-n 1uname-R5. Restart and select the updated kernel version of reboot6. Install dependency packages # # CentOS 7 and RHEL 7 # # rpm-Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm## CentOS 6 and RHEL 6 # # rpm-Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm## CentOS 5 and RHEL 5 # rpm-Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-5.noarch.rpm## Fedora 26 / 25/24/23/22 # # dnf install binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel dkms## Fedora 21/20/19/18/17/16 and CentOS/RHEL 7-6-5 # # yum install binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel dkms## PAE kernel users install # Fedora 24-23-22 # # dnf install binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-PAE-devel dkms## Fedora 21/ 20/19/18/17/16 and CentOS/RHEL 7-6-5 # # yum install binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-PAE-devel dkms7. Install the VirtualBox version, the latest Version 5.1 (currently 5.1.28) # # Fedora 26 yum install VirtualBox-5.18 25 Fedora 24 and CentOS/RHEL 24 Fedora 22 # # dnf install VirtualBox-5.1## Fedora 21, 20 and CentOS/RHEL 19, 18, 17, 16, 15, 15, and 14, 7-6-5 # # yum install VirtualBox-5.18. Recompile the kernel module # # Fedora 26 etc/init.d/vboxdrv setup## 25 etc/init.d/vboxdrv setup## 24 service vboxdrv setup9 23 22 usr/lib/virtualbox/vboxdrv.sh setup## Fedora 21 20 usr/lib/virtualbox/vboxdrv.sh setup## Fedora 7 # / usr/lib/virtualbox/vboxdrv.sh setup## Fedora 18-17-16 5 # / etc/init.d/vboxdrv setup## or # # service vboxdrv setup9. Add a user to the VirtualBox user group usermod-a-G vboxusers username to launch VirtualBoxVirtualBox10. Troubleshooting
If there is a problem with the KERN_DIR parameter or if your kernel directory does not automatically detect it, set the KERN_DIR environment variable manually, using the following methods:
# # currently running kernel is Fedora # # KERN_DIR=/usr/src/kernels/ `uname-r` # # currently running kernel is CentOS and Red Hat (RHEL) # # KERN_DIR=/usr/src/kernels/ `uname-r`-`uname-m` # # such as Fedora # # KERN_DIR=/usr/src/kernels/2.6.33.5-124.fc13.i686## such as CentOS and Red Hat (RHEL) # # KERN_DIR=/usr/src/kernels / 2.6.18-194.11.1.el5-x86_64## export variable KERN_DIR # # export KERN_DIR
These are all the contents of the article "how to install virtual machine software VirtualBox under Linux". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to 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.