vagrant“找不到方框”错误

mhd8tkvw  于 2021-06-03  发布在  Hadoop
关注(0)|答案(2)|浏览(295)

我安装了vagrant和virtualbox来模拟hadoop管理(apacheambari)。根据它的安装文档,我已经完成了创建vm的所有工作(使用“vagrant up”命令)。我已经手动安装了lucid32 box文件并将其放入目录中,但它仍然显示:

There are errors in the configuration of this machine. Please fix
the following errors and try again:

vm:

* The box 'lucid32' could not be found.

我做错什么了?

tkclm6bt

tkclm6bt1#

我能够得到一个盒子使用最新的安装后,这个过程。


# From your home directory, install the template box

vagrant box add lucid32 http://files.vagrantup.com/lucid32.box

# From your project directory

vagrant init lucid32
vagrant up

使用apache ambari:


# clone from GitHub

git clone https://github.com/u39kun/ambari-vagrant.git

# Append these entries to ambari-vagrant/append-to-etc-hosts.txt

# ubuntu 12.4 hosts

192.168.12.101 u1201.ambari.apache.org u1201
192.168.12.102 u1202.ambari.apache.org u1202
192.168.12.103 u1203.ambari.apache.org u1203
192.168.12.104 u1204.ambari.apache.org u1204
192.168.12.105 u1205.ambari.apache.org u1205
192.168.12.106 u1206.ambari.apache.org u1206
192.168.12.107 u1207.ambari.apache.org u1207
192.168.12.108 u1208.ambari.apache.org u1208
192.168.12.109 u1209.ambari.apache.org u1209
192.168.12.110 u1210.ambari.apache.org u1210

# Modify your hosts file

sudo cat ambari-vagrant/append-to-etc-hosts.txt >> /etc/hosts

# Get up and running

cd ambari-vagrant/ubuntu12.4
vagrant up
ca1c2owp

ca1c2owp2#

流浪汉的配置有问题。错误消息打印如下:
vm:*找不到“hashicorp/precise64”框。
对我来说,这只是一个简单的问题,就是使用了太旧的vagrant版本(版本1.0.1)。
从以下位置下载最新版本:https://www.vagrantup.com/downloads.html
然后:
$sudo dpkg-i流浪者\u 1.8.5 \u x86 \u 64.deb

相关问题