#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。
相关文章
- 在Ubuntu系统中安装终端工具Terminator
- Windows系统中安装Rust工具链方法
- kali中的APT软件包处理工具(apt-get)、Debian软件包管理器(dpkg)、源代码压缩和Nessus安装实用指南
- 017 在SecureCRT中安装rz小工具
- ubuntu 64位中安装安卓应用包解析工具apktool
- 宿主系统为Ubuntu 14,CentOS 6.5 安装VirtualBox增强工具失败:Building the OpenGL support module[FAILED]
- 【Vue】Vue扫盲(七)如何使用Vue脚手架进行模块化开发及遇到的问题(cmd中无法识别vue命令、vue init webpack 命令执行失败)-一、安装 相关工具
- redhat 6.4 安装VirtualBox自动增强功能功:unable to find the sources of your current Linux kernel
- ExtJs工具篇(1)——在Aptana3中安装ExtJS 代码提示插件
- 在PyCharm(Python集成开发环境)中安装jieba中文分词工具包