报错信息:

building the main Guest Additions module FAILED
unable to find the sources of your current Linux kernel. Specify KERN_DIR-<directory> and run Make again

解决方案:

  • yum update

  • yum install gcc make kernel kernel-devel

然后,重启Centos。

1.创建一个目录 makdir /mnt/share;

2.挂在共享文件夹:mount -t vboxsf  share  /mnt/share;(注释:标红的share指的是虚拟机配置共享文件夹选项中共享文件夹的名称);

3.在centos下,查看/mnt/share路径即可看到与宿主机共享的文件了。

最新文章

  1. Yoshua Bengio 2016年5月11日在Twitter Boston的演讲PPT
  2. 基于MVC4+EasyUI的Web开发框架形成之旅--界面控件的使用
  3. Vector Clock/Version Clock
  4. HelloWorld之jetty运行
  5. Windows-001-Win7系统变量设置
  6. SQL HAVING语句
  7. Oracle11G登录时提示:ORA-12557: TNS:协议适配器不可加载
  8. [OC] UITabBarController
  9. truncate 空间不释放问题
  10. 状态模式(State) 笔记
  11. SQL Server 2012学习笔记 2 Server Core中命令行安装SQL
  12. Android学习----异常(2):Please ensure that adb is correctly located at &amp;#39; ... &amp;#39;
  13. 最强AngularJS资源合集
  14. 基于react的MQ管理系统遇到的问题以及解决办法
  15. shell练习题2
  16. 剑指offer——python【第29题】最小的K个数
  17. U-boot中SPL功能和源码流程分析
  18. node 和npm 版本更新
  19. Struts2中遇到的问题
  20. 当启动tomcat时出现tomcat setting should be set in tomcat preference page

热门文章

  1. 周练6(python脚本)
  2. 03-python基本数据类型详解
  3. LinuxGPU服务器搭建
  4. MSF内网信息收集
  5. WDA学习(26):Phase Indicator使用
  6. ps 合并两张图片为一张
  7. 你应该知道的 50 个 Python 单行代码
  8. clearfix解决高度塌陷和外边距重合问题
  9. Spring Boot 开启后缀匹配模式
  10. Bert使用