質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
Vagrant

Vagrantは、VirtualBox上の仮想マシンを コマンドラインから作成してくれるソフトウェアです。 ビルド環境など容易に構築が可能です。

Q&A

解決済

1回答

5915閲覧

Vagrantが立ち上がらない

KINGFROG

総合スコア27

Vagrant

Vagrantは、VirtualBox上の仮想マシンを コマンドラインから作成してくれるソフトウェアです。 ビルド環境など容易に構築が可能です。

0グッド

0クリップ

投稿2016/11/23 02:30

初めて、サーバーを構築しています。
参考にしているのはドットインストールです。
動画どうりにターミナルでコマンドを実行していくと以下のようなメッセージが出てしまい、上手くいきません。
どなたかご教示いただければと思いますい。

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.

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

archiver

2016/11/23 03:17

参考にしたドットインストールのレッスンのページを提示してもらっていいですか。
KINGFROG

2016/11/23 03:39

「#06 仮想マシンを立ち上げよう」です。
archiver

2016/11/23 03:50

#06?#04ではなく?「vagrant入門」で進めているということでいいですよね?まあ、それはいいとして、一応#01から順に進めているということでいいんですよね。
KINGFROG

2016/11/23 11:54

はい、01から順に進めています。
guest

回答1

0

ベストアンサー

virtualboxをインストールされた後で、OSの再起動は実施されていますでしょうか?

VirtualboxはOSの一部に手を加えるため、OSを再起動してから次の手順に進まれたほうが
安全です。

もしも、再起動後も同じ現象であれば、下記の再度でご確認ください。
「vagrant statusしたらnot createdになった場合はvagrant upとかしないでこうしよう」

http://qiita.com/tokifuji/items/9cdd39c7bcb51bfdaa15

投稿2016/11/23 05:14

nagaetty

総合スコア1106

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

KINGFROG

2016/11/23 12:06

再インストールをして、OSを再起動したら無事に成功しました。 ありがとうございました。
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問