zoukankan      html  css  js  c++  java
  • 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电脑上。

  • 相关阅读:
    js简单排序
    js希尔排序
    js直接插入排序
    大数运算
    IOC和AOP的理解 (持续更新)
    频发事件的缓存技巧
    执行上下文深入解析(Execution Context)
    二分
    HDU 3790 最短路径问题 (双重权值)
    浅谈Targan算法
  • 原文地址:https://www.cnblogs.com/zhaoyang-1989/p/5645589.html
Copyright © 2011-2022 走看看