- 最后登录
- 2016-8-16
- 在线时间
- 147 小时
- 威望
- 207
- 金钱
- 2622
- 注册时间
- 2011-10-31
- 阅读权限
- 60
- 帖子
- 170
- 精华
- 0
- 积分
- 207
- UID
- 75
|
1#
发表于 2012-8-15 16:39:26
|
查看: 4429 |
回复: 3
安装环境和安装软件
[root@gtlionsdev ~]# cat /etc/issue
Oracle Linux Server release 5.8
Kernel \r on an \m
[root@gtlionsdev ~]# uanme -a
-bash: uanme: command not found
[root@gtlionsdev ~]# uanme -a
-bash: uanme: command not found
[root@gtlionsdev ~]# uname -a
Linux gtlionsdev 2.6.39-200.29.2.el5uek #1 SMP Sat Jul 14 10:42:52 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
[root@gtlionsdev ~]# ll soft/app/VirtualBox-4.1-4.1.18_78361_rhel5-1.x86_64.rpm
-rw-r--r-- 1 root root 80801380 06-20 23:20 soft/app/VirtualBox-4.1-4.1.18_78361_rhel5-1.x86_64.rpm
分别用从官网下载的安装包直接安装和配置yum进行安装,安装均报错如下:
Stopping VirtualBox kernel modules [确定]
Uninstalling old VirtualBox DKMS kernel modules [确定]
Trying to register the VirtualBox kernel modules using DKMSError! echo
Your kernel headers for kernel 2.6.39-200.29.2.el5uek cannot be found at
/lib/modules/2.6.39-200.29.2.el5uek/build or /lib/modules/2.6.39-200.29.2.el5uek/source.
[失败]
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules [失败]
(Look at /var/log/vbox-install.log to find out what went wrong)
Installed:
VirtualBox-4.1.x86_64 0:4.1.18_78361_rhel5-1
g出来的尝试执行如下命令:
root@gtlionsdev yum.repos.d]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules [确定]
Uninstalling old VirtualBox DKMS kernel modules [确定]
Trying to register the VirtualBox kernel modules using DKMSError! echo
Your kernel headers for kernel 2.6.39-200.29.2.el5uek cannot be found at
/lib/modules/2.6.39-200.29.2.el5uek/build or /lib/modules/2.6.39-200.29.2.el5uek/source.
[失败]
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules [失败]
(Look at /var/log/vbox-install.log to find out what went wrong)
还是失败
查看日志提示如下“:
[root@gtlionsdev yum.repos.d]# cat /var/log/vbox-install.log
Uninstalling modules from DKMS
Attempting to install using DKMS
Creating symlink /var/lib/dkms/vboxhost/4.1.18/source ->
/usr/src/vboxhost-4.1.18
DKMS: add completed.
Failed to install using DKMS, attempting to install without
Makefile:172: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again。 停止。
帮忙看看 谢谢。 |
爱老婆,爱FM,爱音乐;挨踢,爱折腾,爱Oracle
|
|