vagrant 相关记录
最近安装vagrant 出错的最大的可能性是BOX 路径不太对, 好像和目录的大小写有关系,请检查
$ vagrant init # 初始化
$ vagrant up # 启动虚拟机
$ vagrant halt # 关闭虚拟机
$ vagrant reload # 重启虚拟机
$ vagrant ssh # SSH 至虚拟机
$ vagrant status # 查看虚拟机运行状态
$ vagrant destroy # 销毁当前虚拟机
问题1
Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
the configured ("config.vm.boot_timeout" value) time period.
If you look above, you should be able to see the error(s) that
Vagrant had when attempting to connect to the machine. These errors
are usually good hints as to what may be wrong.
If you're using a custom box, make sure that networking is properly
working and you're able to connect to the machine. It is a common
problem that networking isn't setup properly in these boxes.
Verify that authentication configurations are also setup properly,
as well.
If the box appears to be booting properly, you may want to increase
the timeout ("config.vm.boot_timeout") value.
我没有能力去理解这个问题,但是 我的解决方式是这样的
Vagrant halt 关闭vagrant
vagrant destroy 销毁当前虚拟机
Vagrant up 启动vagrant
我觉得这样比重装快点,但实际上还是重装了,当然 这样肯定不会损坏现有的项目, 因为项目在你的win电脑上。
最新文章
- 利用Civil 3D API更改曲面的样式
- jquery.serialize() 函数详解
- NOI2012 : 迷失游乐园
- 【uva】1220 Party at Hali-Bula
- Oracle的substr函数简单用法
- Java [leetcode 22]Generate Parentheses
- 关于word2010中完美解决数学公式(正斜体)输入的解决方案
- [Bootstrap] 4. Typogrphy
- settimeout vs setinternal
- Django学习日记04_模板_overview
- Bootstrap 栅格系统简单整理
- python在windows(双版本)及linux环境下安装
- mongodb修改和删除操作
- 七牛云图片的存储与处理--基于node
- 【转】iOS开发笔记--识别单击还是双击
- 【iOS开发】关于显示一连串图片组成动画效果UIImageView的使用
- InfluxDB时序数据库应用场景
- 【HTML】WWW简介
- IIS 绑定 HTTPS 域名
- linux内核cdev_init系列函数(字符设备的注册)