我看到scotch.io流浪盒,我很满意。所以我继续下载virtualbox和vagrant。还下载了scotch.io vagrantfile。但是当我使用cmd和pc用户输入该目录中的vagrant up
时。
它给出了这个错误
C:\Users\Myusername\Desktop\scotch-box-master>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'scotch/box' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
The box 'scotch/box' 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/scotch/box"]
Error:
所以我尝试安装它尝试下载的精确64盒但是它会给出一个错误,如下所示
C:\Users\Myusername\Desktop\Vagrant>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'precise64' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
==> default: Box file was not detected as metadata. Adding it directly...
==> default: Adding box 'precise64' (v0) for provider: virtualbox
default: Downloading: http://files.vagrantup.com/precise64.box
default: Progress: 100% (Rate: 24/s, Estimated time remaining: --:--:--)
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.
请帮我修复此错误。 所以我刚刚下载了exact64.tar文件,我怎么能在本地安装它,因为远程安装不能正常工作
答案 0 :(得分:0)
我在Windows上成功使用了vagrant,它与VirtualBox配合得很好,但与从OSX或Linux开始相比有一些陷阱。我找到的最佳建议是:http://tech.osteel.me/posts/2015/01/25/how-to-use-vagrant-on-windows.html例如我需要学习以管理员身份启动命令窗口并特别解决符号链接问题。虽然我在Mac上使用了scotchbox,它开箱即用,所以首先摆弄已知的Windows问题可能会让你在那里?
答案 1 :(得分:0)
从上面的用户说是我所要做的就是检查我的电脑名称是否有任何特殊的字符编辑 - / @#$%等然后删除特殊字符。所有和流浪者正在非常正确地下载盒子