我正在关注“安装、配置和运行 Open edX 平台”版本(2015 年 10 月 2 日)中的 8.5 安装 Open edX Fullstack。
- mkdir 全栈
- cd 全栈
- curl -L https://raw.githubusercontent.com/edx/.......(省略)
- vagrant 插件安装 vagrant-hostsupdater
- 流浪起来
在“vagrant up”步骤中,它“创建”了虚拟框,因为它“出现”在我的 Oracle VM Vitural Box 管理器上。但是,“vagrant up”步骤在打印以下消息时继续运行。最终,它破坏了虚拟机并退出。
==> default: Attempting graceful shutdown of VM...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Connection timeout. Retrying...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
default: The guest additions on this VM do not match the installed version of
default: VirtualBox! In most cases this is fine, but in rare cases it can
default: prevent things such as shared folders from working properly. If you see
default: shared folder errors, please make sure the guest additions within the
default: virtual machine match the version of VirtualBox you have installed on
default: your host and reload your VM.
default:
default: Guest Additions Version: 4.2.0
default: VirtualBox Version: 5.0
==> default: Checking for host entries
==> default: adding to (C:/Windows/system32/drivers/etc/hosts) : 192.168.33.10 preview.localhost # VAGRANT: 8f87a49f1
aae27b0a96e16269847ad4 (default) / d270d099-e1a7-44d0-b95c-8e2581568495
==> default: Forcing shutdown of VM...
==> default: Destroying VM and associated drives...
C:/Users/user/.vagrant.d/gems/gems/vagrant-hostsupdater-0.0.11/lib/vagrant-hostsupdater/HostsUpdater.rb:82:in
initiali e':权限被拒绝 - C:/Windows/system32/drivers/etc/hosts (Errno::EACCES) 来自 C:/Users/user/.vagrant.d/gems/gems/vagrant-hostsupdater-0.0.11/ lib/vagrant-hostsupdater/HostsUpdater.rb:82 在open'
from C:/Users/user/.vagrant.d/gems/gems/vagrant-hostsupdater-0.0.11/lib/vagrant-hostsupdater/HostsUpdater.rb:82
in
addToHosts'
并且更多的这些线跟随....
我正在使用 Windows 7 和最新版本的 Virtual Box 和 Vagrant。如果您让我知道我可能会尝试解决此错误的任何事情,我将不胜感激。
(债务人)<><