Installing VirtualBox
The (VirtualBox) website has a lot of quality documentation including:
End-user documentation
Technical documentation
Source code repository timeline
List of changes (changelog)
This article will briefly cover the installation process. Both i386 and AMD64 (x86_64) versions are available.
You will need to be the root user for the following tasks. Login to a root shell or "su -" in a terminal window.
Download the RHEL repo config.
Note:
As an alternative, you may choose to download and install individual
RPMS rather than configuring the repository. That procedure is
documented on the VB web site and will not be covered here.
cd /etc/yum.repos.d
wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo
Optionally
add a line "enabled=0" if you do not want the repository to be enabled
by default. This will require adding "--enablerepo virtualbox" to yum
commands to access the repository.
The installation of VB will
require the building of kernel modules. If DKMS (Dynamic Kernel Module
Support) is installed it will be used and will simplify kernel upgrades.
Installing DKMS from RPMforge or EPEL repository is recommended before
installing VirtualBox. Don't forget to configure the yum-priorities
plugin. Installing DKMS will pull in required development dependencies.
yum --enablerepo rpmforge install dkms
<!> A forum user notes that all but the latest version of DKMS from Dell may be buggy.
If DKMS is not used and the development environment and kernel source are not already installed:
yum groupinstall "Development Tools"
yum install kernel-devel
You
may also choose to only install a minimum set of individual development
tool packages (at least gcc and make are required) rather than the
groupinstall which some may consider overkill. Replace "kernel-devel"
with "kernel-PAE-devel" if using a PAE kernel. If you are not using a
standard CentOS kernel, you must acquire and install the source for your
kernel from wherever you got the kernel. Do not try to use VirtualBox
with a Xen kernel, nor to install a Xen kernel in a Guest OS.
Note: For CentOS as a Guest OS the same packages are used to build the "Guest Additions" drivers.
Install the RPM:
yum install VirtualBox-4.1
or for the old versions
yum install VirtualBox-4.0
or
yum install VirtualBox-4.2
The
installer will create the "vboxusers" group and create the necessary
kernel modules if the development environment has been correctly
configured.
For each "username" that will run VirtualBox:
usermod -a -G vboxusers username
or use the GUI Users and Groups tool.
Installing VirtualBox的更多相关文章
- Installing VirtualBox DKMS in Kali 2.0
Kali linux is one of the mainly used operating system by the Ethical hackers and information securit ...
- Ubuntu 14.04 安装 VirtualBox
参考: ubuntu14.04,安装VirtualBox 5.0(虚拟机软件)! 由于Vagrant工具的需要,安装了一下VirtualBox. 使用参考链接的法一居然在软件中心里面报错,我想可能是没 ...
- 在 CentOS 7上Virtualbox+phpVirtualBox完整虚拟化环境部署
一.phpVirtualBox简介 VirtualBox是一套为不同操作系统而设的 x86 虚拟化产品.它是一个机器/硬件的虚拟化产品,功能上与 VMware Server.Parallel ...
- centos 7 install virtualbox
from:https://wiki.centos.org/HowTos/Virtualization/VirtualBox Installing VirtualBox cd /etc/yum.repo ...
- Vagrant系列(一)----win10搭建Vagrant+VirtualBox环境_
一.Vagrant是什么? vagrant是一个操作虚拟机的工具.是一个基于Ruby的工具,用于创建和部署虚拟化开发环境. 通过命令和配置文件来管理虚拟机,很快就能完成一套开发环境的 ...
- 使用packer制作vagrant centos box
使用packer制作vagrant box:centos 制作vagrant box,网上有教程,可以自己step by step的操作.不过直接使用虚拟在VirtualBox中制作vagrant b ...
- Git+VirtalBaox+Vagrant创建Linux虚拟机
文章内容来自Udacity课程:Linux Command Line Basics--Getting Started with the Shell Your own Linux box To lear ...
- 在RedHat 和 Ubuntu 中配置 Delphi 的Linux开发环境(转)
原文地址:http://chapmanworld.com/2016/12/29/configure-delphi-and-redhat-or-ubuntu-for-linux-development/ ...
- 在 centos 上安装 virutalbox
目录 简介 centos 6.x 安装 virtual box Step 1 – Add Required Yum Repositories Step 2 – Install Required Pac ...
随机推荐
- 最长递减子序列(nlogn)(个人模版)
最长递减子序列(nlogn): int find(int n,int key) { ; int right=n; while(left<=right) { ; if(res[mid]>ke ...
- 【Java学习笔记之十八】Javadoc注释的用法
Javadoc注释的用法 Java 文档 // 注释一行/* ...... */ 注释若干行/** ...... */ 注释若干行,并写入 javadoc 文档 通常这种注释的多行写法如下: /*** ...
- B. OR in Matrix
B. OR in Matrix time limit per test 1 second memory limit per test 256 megabytes input standard inpu ...
- 利用Selenium+PhantomJS 实现截图
using OpenQA.Selenium; using OpenQA.Selenium.PhantomJS; using System; using System.Drawing; using Sy ...
- java中强,软,弱,虚引用 以及WeakHahMap
java中强,软,弱,虚引用 以及WeakHahMap 一:强软引用: 参考:http://zhangjunhd.blog.51cto.com/113473/53092/进行分析 packa ...
- 用NPOI导出Excel,生成下拉列表、以及下拉联动列表(第1篇/共3篇)
最近帅帅的小毛驴遇到一个很奇葩的需求: 导出Excel报表,而且还要带下拉框,更奇葩的是,下拉框还是联动的. 小毛驴一天比较忙,所以这等小事自然由我来为她分忧了.经历了两天,做了几种解决方案,最后完美 ...
- PHP中file_exists()函数不能检测包含中文的文件名的解决办法
版权声明:本文为博主原创文章,未经博主允许不得转载. PHP中一般使用file_exists()判断某个文件或者文件夹是否存在,如果文件或文件夹存在则返回true,不存在则返回fal ...
- block一点也不神秘————如何利用block进行回调
我们在开发中常常会用到函数回调,你可以用通知来替代回调,但是大多数时候回调是比通知方便的,所以何乐而不为呢?如果你不知道回调使用的场景,我们来假设一下: 1.我现在玩手机 2.突然手机没有电了 3.我 ...
- Angular 4 设置组件样式的几种方式
你用Angular吗? 一.介绍 如何只改动最简单的css代码,呈现完全不一样的视图效果. 第一种:最基本的设置: 图1 代码 图2 界面运行效果图 平常,想给一个label或者p等标签添加样 ...
- Mac下Charles Contents乱码解决办法
用到Charles,下载最新的4.0.1版本,但是发生乱码问题.百度好久才找到个靠谱的,那些说什么在Info.plist文件加字符串的,都是假的,反正我是试了都没用,这里记下详细的操作步骤解决: 1. ...