centos 7 install VirtualBox
2019独角兽企业重金招聘Python工程师标准>>>
1. set the yum repository.
[root@localhost ~]# wget -P /etc/yum.repos.d http://download.virtualbox.org/virtualbox/rpm/el/virtualbox.repo
--2017-02-14 11:40:21-- http://download.virtualbox.org/virtualbox/rpm/el/virtualbox.repo
正在解析主机 download.virtualbox.org (download.virtualbox.org)... 65.200.22.33, 65.200.22.48
正在连接 download.virtualbox.org (download.virtualbox.org)|65.200.22.33|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:259 [text/plain]
正在保存至: “/etc/yum.repos.d/virtualbox.repo”100%[=========================================================================================================================================================================>] 259 --.-K/s 用时 0s 2017-02-14 11:40:22 (32.0 MB/s) - 已保存 “/etc/yum.repos.d/virtualbox.repo” [259/259])
2. search the available version of VirtualBox
[root@localhost ~]# yum search VirtualBox
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile* base: mirrors.btte.net* elrepo: mirrors.tuna.tsinghua.edu.cn* extras: mirrors.btte.net* updates: mirrors.btte.net
============================================================================================= N/S matched: VirtualBox =============================================================================================
VirtualBox-4.3.x86_64 : Oracle VM VirtualBox
VirtualBox-5.0.x86_64 : Oracle VM VirtualBox
VirtualBox-5.1.x86_64 : Oracle VM VirtualBox
3. install the specific version.
[root@localhost ~]# yum install VirtualBox-5.1
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile* base: mirrors.btte.net* elrepo: mirrors.tuna.tsinghua.edu.cn* extras: mirrors.btte.net* updates: mirrors.btte.net
正在解决依赖关系
--> 正在检查事务
---> 软件包 VirtualBox-5.1.x86_64.0.5.1.14_112924_el7-1 将被 安装
--> 正在处理依赖关系 libSDL-1.2.so.0()(64bit),它被软件包 VirtualBox-5.1-5.1.14_112924_el7-1.x86_64 需要
--> 正在检查事务
---> 软件包 SDL.x86_64.0.1.2.15-14.el7 将被 安装
--> 解决依赖关系完成依赖关系解决===================================================================================================================================================================================================================Package 架构 版本 源 大小
===================================================================================================================================================================================================================
正在安装:VirtualBox-5.1 x86_64 5.1.14_112924_el7-1 virtualbox 75 M
为依赖而安装:SDL x86_64 1.2.15-14.el7 base 204 k事务概要
===================================================================================================================================================================================================================
安装 1 软件包 (+1 依赖软件包)总下载量:75 M
安装大小:168 M
Is this ok [y/d/N]: y
run config procedure, there will be message if there are errors.
[root@localhost ~]# /sbin/vboxconfig
vboxdrv.sh: Building VirtualBox kernel modules.
This system is not currently set up to build kernel modules (system extensions).
Running the following commands should set the system up correctly:yum install kernel-devel-3.10.0-327.36.2.el7.x86_64
(The last command may fail if your system is not fully updated.)yum install kernel-devel
vboxdrv.sh: failed: Look at /var/log/vbox-install.log to find out what went wrong.
This system is not currently set up to build kernel modules (system extensions).
Running the following commands should set the system up correctly:yum install kernel-devel-3.10.0-327.36.2.el7.x86_64
(The last command may fail if your system is not fully updated.)yum install kernel-develThere were problems setting up VirtualBox. To re-start the set-up process, run/sbin/vboxconfig
as root.
install kernel
yum install kernel-devel
转载于:https://my.oschina.net/u/3901362/blog/1919847
centos 7 install VirtualBox相关推荐
- CentOS 7 安装VirtualBox
VirtualBox 5.1 Released – Install on RHEL/CentOS/Fedora and Debian/Ubuntu/Linux Mint 导入epel安装源 #yum ...
- centos yum install redis
centos yum install redis linux下yum安装redis以及使用 1.yum install redis --查看是否有redis yum 源 [root@lo ...
- Centos 9 Stream + Virtualbox Additions ISO 无法安装
问题描述 Centos 9 Stream 原始镜像创建VDI作为guest host,无法安装Virtualbox 自带最新Guest Addtions tools,导致无法使用共享文件夹等一系列工具 ...
- CentOS笔记:VirtualBox使用说明之Shared Folders
一.安装依赖包 #yum install kernel-headers #yum install kernel-devel #yum install gcc* #yum install make 二. ...
- 使用gparted-LiveCD对centos分区调整---virtualbox磁盘调整序2
前面介绍了如何在virtualbox下动态正在vdi磁盘的方法<virtualbox 增加虚拟磁盘大小>,主要是使用命令行 vboxmanage modifyhd c:\vdisk\cen ...
- CentOS 7 install Zabbix3.4
Zabbix安装3.4的时候报错 网址 https://centos.pkgs.org/7/puias-unsupported-x86_64/iksemel-1.4-6.sdl7.x86_64.rpm ...
- linux上centos镜像磁盘,VirtualBox中配置linuxCentOS的本地磁盘镜像iso作为其软件源
下载VirtualBox软件和CentOS的磁盘镜像(.iso文件) 在VirtualBox虚拟机中安装好CentOS,安装步骤不叙述. 开始配置 操作1 打开虚拟机设置 打开你的VirtualBox ...
- Centos系统里virtualbox装的windows系统,如何开摄像头!【精】
前言: 博主最近入手了梦中情本华硕幻13 laptop,也是犹豫了很长时间.其实之前一直在用2016款的Mac pro,说实话苹果电脑体验度也是相当不错,陪伴我完成了两次重要的学位论文撰写和一些重大项 ...
- Centos yum install和yum groupinstall的区别
yum install和yum groupinstall都是安装软件的意思,而yum install 是安装指定的单个软件,在linux中有些单个软件会有依赖关系,必须配合其他的安装包一起安装才能运行 ...
- centos yum install 默认目录_Centos7如何更换yum仓库
Yellow dog Updater(Yum)是CentOS所有版本的默认包管理器,yum主要功能是更方便的添加/删除/更新RPM包,自动解决包的依赖性问题,便于管理大量系统的更新问题,其理念是使用一 ...
最新文章
- ST3新建py2和py3的build system
- Shell脚本中循环until命令用法笔记
- C++:构造函数重载类内定义函数(内联函数)
- Rabbtmq Confirm 确认消息
- #华为云·寻找黑马程序员#【代码重构之路】如何“消除”if/else
- 大数据、物联网、AI 等技术正当时!
- iOS UIWebView打电话
- 剑指offer面试题[34]丑数
- VirtualDub - 开源视频捕捉及线性处理软件
- lisp 吴永进_AutoCAD 完全应用指南
- Web渗透测试实战——(1)Web渗透测试简介
- vss服务器状态失败_关于vss事件日志报如下错误
- Python的优势和劣势
- 科技类外包人员考核评价规则
- Unbuntu ./btest : cannot execute binary file: Exec format error解决方案(CSAPP)
- 【wmi】C++获取windows激活状态
- 教大家用python画皮卡丘的脸
- android怎样实现手机触屏,Android触屏过程详解和实现view随手指移动而移动功能
- gps wifi信号测试软件,搜星+WiFi+EMI 导航平板信号性能横评
- 如何让腾讯微博搜索排名靠前?