初めて、サーバーを構築しています。
参考にしているのはドットインストールです。
動画どうりにターミナルでコマンドを実行していくと以下のようなメッセージが出てしまい、上手くいきません。
どなたかご教示いただければと思いますい。
yu-no-imac:~ KING$ vagrant plugin install vagrant-vbguest
Installing the 'vagrant-vbguest' plugin. This can take a few minutes...
Installed the plugin 'vagrant-vbguest (0.13.0)'!
yu-no-imac:~ KING$ cd
yu-no-imac:~ KING$ mkdir MyVagrant
mkdir: MyVagrant: File exists
yu-no-imac:~ KING$ cd MyVagrant
yu-no-imac:MyVagrant KING$ mkdir MyCentOS
mkdir: MyCentOS: File exists
yu-no-imac:MyVagrant KING$ cd MyCentOS
yu-no-imac:MyCentOS KING$ vagrant init chef/centos-6.8
Vagrantfile
already exists in this directory. Remove it before
running vagrant init
.
yu-no-imac:MyCentOS KING$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'chef/centos-6.7' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
==> default: Loading metadata for box 'chef/centos-6.7'
default: URL: https://atlas.hashicorp.com/chef/centos-6.7
The box you're adding has a name different from the name you
requested. For boxes with metadata, you cannot override the name.
If you're adding a box using vagrant box add
, don't specify
the --name
parameter. If the box is being added via a Vagrantfile,
change the config.vm.box
value to match the name below.
Requested name: chef/centos-6.7
Actual name: bento/centos-6.7
yu-no-imac:MyCentOS KING$ vagrant status
Current machine states:
default not created (virtualbox)
The environment has not yet been created. Run vagrant up
to
create the environment. If a machine is not created, only the
default provider will be shown. So if a provider is not listed,
then the machine is not created for that environment.
回答1件
あなたの回答
tips
プレビュー