vagrant相关
2024-09-03 09:06:45
- 无法挂载共享目录,报错如下
Vagrant was unable to mount VirtualBox shared folders. This is usually
because the filesystem "vboxsf" is not available. This filesystem is
made available via the VirtualBox Guest Additions and kernel module.
Please verify that these guest additions are properly installed in the
guest. This is not a bug in Vagrant and is usually caused by a faulty
Vagrant box. For context, the command attempted was:
mount -t vboxsf -o uid=1000,gid=1000 vagrant_app /vagrant/app
The error output from the command was:
mount: unknown filesystem type 'vboxsf'
- vgrant常用命令
$ vagrant init # 初始化
$ vagrant up # 启动虚拟机
$ vagrant halt # 关闭虚拟机
$ vagrant reload # 重启虚拟机
$ vagrant ssh # SSH 至虚拟机
$ vagrant suspend # 挂起虚拟机
$ vagrant resume # 唤醒虚拟机
$ vagrant status # 查看虚拟机运行状态
$ vagrant destroy # 销毁当前虚拟机
$ vagrant box list # 查看本地box列表
$ vagrant box add # 添加box到列表
$ vagrant box remove # 从box列表移除
最新文章
- C#中日期记忆日期的格式化,日期格式化说明
- 一个语句创建Oracle所有表的序列
- C#部分---利用arraylist集合做滚动抽奖;
- 在使用 AjaxFileUpload 上传文件时,在项目发布到 iis 后,图片不能预览
- C#_deepCopy
- apache开源项目--HydraBase
- Python自动化运维之13、异常处理及反射(__import__,getattr,hasattr,setattr)
- 《JS权威指南学习总结》
- mongodb分片认证
- xcconfig 文件配置文件 问题
- 安装使用swoole
- 007 使用SpringMVC开发restful API五--异常处理
- Html5 标签一(文本)
- 程序员眼中的Redis
- 基础_cifar10_序贯
- objectstate对象三种状态
- jq无缝滚动效果插件(之前的那个升级改造加强版)
- POJ 3295 Tautology(构造法)
- UVA10498 Happiness 【单纯形】
- 如何用7-zip创建自解压文件,7Z软件如何使用