安装VirtualBox后,vboxadd服务启动失败
2016-03-29 15:54
771 查看
提示失败
Building the VirtualBox Guest Additions kernel modules [FAILED]
Your system does not seem to be set up to build kernel modules.
Look at /var/log/vboxadd-install.log to find out what went wrong.
Once you have corrected it, you can run /etc/init.d/vboxadd setup to build them.
more /var/log/vbox-install.log 内容
Makefile:183: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make ag
ain. Stop.
安装GCC
#yum install gcc
# yum install gcc kernel-devel kernel-headers
重启系统或重新安装virtrualbox 再或者
export KERN_DIR=/usr/src/kernels/2.6.18-164.15.1.el5-i686/(2.6.18-164.15.1.el5-i686可查看自己机器就具体位置而知)
最后,/etc/init.d/vboxdrv setup即可。
Building the VirtualBox Guest Additions kernel modules [FAILED]
Your system does not seem to be set up to build kernel modules.
Look at /var/log/vboxadd-install.log to find out what went wrong.
Once you have corrected it, you can run /etc/init.d/vboxadd setup to build them.
more /var/log/vbox-install.log 内容
Makefile:183: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make ag
ain. Stop.
安装GCC
#yum install gcc
# yum install gcc kernel-devel kernel-headers
重启系统或重新安装virtrualbox 再或者
export KERN_DIR=/usr/src/kernels/2.6.18-164.15.1.el5-i686/(2.6.18-164.15.1.el5-i686可查看自己机器就具体位置而知)
最后,/etc/init.d/vboxdrv setup即可。
相关文章推荐
- VBA资料
- 机房收费——存储过程+事务
- Expression Trees (C# and Visual Basic)
- mswinsck.ocx不存在问题解决
- openstack neutron(tap、qvb、qvo详解)(转)
- openstack的虚拟机网卡、网桥等(tap、qbr、qvb、qvo)mtu设置
- 今天接触vb6.0的感触
- excel,access常用公式函数VBA代码汇总文章
- VB中数字的交换
- 红糖水白糖水切换vb
- vb中两个数的比较
- 上VB课的感受
- VB课感悟
- vb
- VB中随机数ab的比较大小
- 对VB的感想
- 【三层】——C#与VB.NET各显神通
- 《vb.net视频之沉淀》
- VB.NET 版三层登录的实现
- VB课感想