服务器之家:专注于服务器技术及软件下载分享
分类导航

Linux|Centos|Ubuntu|系统进程|Fedora|注册表|Bios|Solaris|Windows7|Windows10|Windows11|windows server|

服务器之家 - 服务器系统 - Centos - CentOS5.5中安装VirtualBOX增强工具

CentOS5.5中安装VirtualBOX增强工具

2019-10-09 17:58CentOS之家 Centos

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。

延伸 · 阅读

精彩推荐