首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >使用流浪者安装fedora-20

使用流浪者安装fedora-20
EN

Stack Overflow用户
提问于 2015-02-27 11:50:22
回答 2查看 824关注 0票数 0

我已经成功地安装了VMware和流浪者在我的win 7 64位系统。

我正在尝试使用迷航器安装Fedora,使用以下命令:

1)vargrant init厨师/fedora-20

输出:

代码语言:javascript
复制
A `Vagrantfile` has been placed in this directory. You are now
ready to `vagrant up` your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
`vagrantup.com` for more information on using Vagrant.

2)流浪者上

产出:

代码语言:javascript
复制
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'chef/fedora-20' could not be found. Attempting to find and ins
tall...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
The box 'chef/fedora-20' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Atlas, please verify you're logged in via
`vagrant login`. Also, please double-check the name. The expanded
URL and error message are shown below:

URL: ["https://atlas.hashicorp.com/chef/fedora-20"]
Error: Failed connect to atlas.hashicorp.com:443; No error

我可以在浏览器中访问atlas.hashicorp.com。

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2015-03-03 07:03:21

命令流浪者up失败,因为我的代理拒绝了对atlas.hashicorp.com的访问。如果我们可以使用浏览器访问任何网站,这并不意味着我们可以使用命令提示符访问它。默认情况下,命令提示符不使用的代理设置。为了解决这个问题,我创建了两个环境变量:“"https_proxy". http_proxy”和"http_proxy“。

在windows中创建环境变量的步骤:

  1. 打开“控制面板”,单击“系统”图标。将显示“系统属性”对话框。
  2. 在“高级”选项卡上,单击“环境变量”。将显示“环境变量”对话框。
  3. 在系统变量面板中单击New。将显示新的SystemVariable对话框。
  4. 使用适当的代理信息添加http_proxy和https_proxy

使用代理http_proxyhttps_proxy变量设置代理server:http_proxy=http://proxy.example.org的主机名或IP地址。

如果代理服务器需要用户名和密码,请将它们包含在以下form:http_proxy=http://username:password@proxy.example.org

如果代理服务器使用的端口不是80,则包括端口number:http_proxy=http://username:password@proxy.example.org:8080

票数 3
EN

Stack Overflow用户

发布于 2015-02-27 15:10:07

对我来说,“厨师/费多拉-20”盒子使用你的步骤是正确的。这可能是一些进入的问题。

作为另一种选择,您可以尝试使用以下方式下载该框:

代码语言:javascript
复制
vagrant box add chef/fedora-20

然后尝试同样的vagrant up

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/28764457

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档