win7下virtualbox虚拟机中安装centos后设置共享文件夹
2024-10-21 18:40:11
报错信息:
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路径即可看到与宿主机共享的文件了。
最新文章
- Yoshua Bengio 2016年5月11日在Twitter Boston的演讲PPT
- 基于MVC4+EasyUI的Web开发框架形成之旅--界面控件的使用
- Vector Clock/Version Clock
- HelloWorld之jetty运行
- Windows-001-Win7系统变量设置
- SQL HAVING语句
- Oracle11G登录时提示:ORA-12557: TNS:协议适配器不可加载
- [OC] UITabBarController
- truncate 空间不释放问题
- 状态模式(State) 笔记
- SQL Server 2012学习笔记 2 Server Core中命令行安装SQL
- Android学习----异常(2):Please ensure that adb is correctly located at &;#39; ... &;#39;
- 最强AngularJS资源合集
- 基于react的MQ管理系统遇到的问题以及解决办法
- shell练习题2
- 剑指offer——python【第29题】最小的K个数
- U-boot中SPL功能和源码流程分析
- node 和npm 版本更新
- Struts2中遇到的问题
- 当启动tomcat时出现tomcat setting should be set in tomcat preference page