栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

居家办公开发环境搭建遇到的两个问题

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

居家办公开发环境搭建遇到的两个问题

一. 提示 virtualbox machine 同名的已经存在

A VirtualBox machine with the name 'CentOS7' already exists.
Please use another name or delete the machine with the existing
name, and try again.

使用上面的vagrant box remove xxx 后,依旧提示同样的问题,
使用 vagrant global-status 查看目前的vittualbox,找到要删除的 id, 使用 vagrant destroy xxx 删除 

如果还是删除不掉,那就使用  C:softwarevirtualboxVBoxManage.exe list vms  命令再查看所有的vms,

再使用这个命令删除指定的

 C:softwarevirtualboxVBoxManage.exe unregistervm "CentOS7" --delete

 

二. SSH 超时问题

 

 An error occurred in the underlying SSH library that Vagrant uses.
The error message is shown below. In many cases, errors from this
library are caused by ssh-agent issues. Try disabling your SSH
agent or removing some keys and try again.

 执行vagrant up 命令后 卡到 ssh auth mothod 这一步,

 用 vagrant ssh-config 查看本地之前储存的 identity file在哪,  下次使用vagrant up命令前 先把这个文件删掉,然后再执行就行了.

最好把防火墙都暂时关闭,不然可能会导致设置网卡时,不能重新启动的问题.

                这疫情何时才能消停呢.......

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/882577.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号