CentOS 6.5 下安装 VirtulBox(2014.10.1)
来源:互联网 发布:大数据公司 英文 编辑:程序博客网 时间:2024/05/16 08:28
官网权威参考:https://www.virtualbox.org/wiki/Linux_Downloads
较低内核版本可以参考这个先升级内核:http://blog.sina.com.cn/s/blog_6e0c0fdf010199f4.html
我用的内核是 2.6.32-431.20.3.el6.x86_64
步骤 1 :
# cd /etc/yum.repos.d/#wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo取得oracle公钥:#wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | gpg --quiet --with-fingerprint Key fingerprint = 7B0F AB3A 13B9 0743 5925 D9C9 5442 2A4B 98AB 5139步骤2:# yum install VirtualBox-4.2有时候网络环境不好,需要多尝试几次,可以断点续做。Recompiling VirtualBox kernel modules [FAILED] (Look at /var/log/vbox-install.log to find out what went wrong)[root@charis mwt]# cat /var/log/vbox-install.logMakefile:181: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.Makefile:181: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.增加环境变量:KERN_DIR , VirtualBox kernel modules 重新编译需要内核源码;可能需要安装,安装如下:# yum install kernel-develexport KERN_DIR=/usr/src/kernels/2.6.32-431.29.2.el6.x86_64/步骤3:启动[root@charis mwt]# /etc/init.d/vboxdrv setupStopping VirtualBox kernel modules [ OK ]Recompiling VirtualBox kernel modules [ OK ]Starting VirtualBox kernel modules [ OK ]
0 0
- CentOS 6.5 下安装 VirtulBox(2014.10.1)
- VirtulBox安装RTEL7.3
- centos 6.5下安装jenkins
- centos 6.5 下安装mysql
- CentOS 6.5下安装MPlayer
- Centos 6.5 下安装 Matlab
- Centos 6.5 下安装Thrift
- centos 6.5 下安装 mysql
- centos 6.5下安装glassfish4
- centos 6.5下安装jdk
- CentOS 6.5 下 Smokeping 安装
- centos 6.5下安装 chrome
- centos 6.5 下安装mysql
- CentOS 6.5下安装BeEF
- Centos 6.5下安装ftp
- Centos 6.5下安装图形界面
- CentOS 6.5 下安装 Redis
- CentOS 6.5 下安装ettercap
- Java基础-->Java开发前奏
- Kruskal算法
- 构造器,子类中必须要实现的有哪几种情况
- Android与服务器端数据交互(http协议整合struts2+android)
- 树的判定
- CentOS 6.5 下安装 VirtulBox(2014.10.1)
- UISearchBar
- java利用反射访问类的私有(private)属性及方法
- 【黑马程序员】线程基本概念(六)
- linux下安装geant4
- 让Xcode Lua 语法高亮
- Linux中的无线架构
- 2027 统计元音
- [思路题] spoj 11354 Amusing numbers