CentOS5.5中安装VirtualBOX增强工具


#sudo sh ./VBoxLinuxAdditions.run

提示失败

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.

#gedit /var/log/vboxadd-install.log 内容

Makefile:23: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.. Stop.
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.

安装GCC

#yum install gcc

# yum install gcc kernel-devel kernel-headers

重启。

再次安装VBoxLinuxAdditions,OK。



相关阅读:
用 C# 编程实现读写Binary
Windows 7 RC发布导致Vista市场份额增速减缓
Document 对象的常用方法
jQuery 打造动态下滑菜单实现说明
简易 Javascript 调试包 Debug包
JavaScript接口实现代码 (Interfaces In JavaScript)
基于jquery的当鼠标滚轮到最底端继续加载新数据思路分享(多用于微博、空间、论坛 )
mysql错代码与解决方法
php expects parameter 1 to be resource, array given 错误
ASP.NET中实现模板页
Linux系统安全的九大技巧
CSS 图片横向排列实现代码
没有光驱利用U盘安装Windows7、Vista及安装盘的制作方法
vbs 获取radmin注册表中的信息
快速导航

Copyright © 2016 phpStudy | 皖ICP备18014864号-4