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

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

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

WordPressは、PHPで開発されているオープンソースのブログソフトウェアです。データベース管理システムにはMySQLを用いています。フリーのブログソフトウェアの中では最も人気が高く、PHPとHTMLを使って簡単にテンプレートをカスタマイズすることができます。

Vagrant

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

Q&A

解決済

1回答

961閲覧

Vagrantで仮想マシンの作成ができません。本 {ビジネスサイトを作って学ぶWordPressの教科書}

2232

総合スコア298

WordPress

WordPressは、PHPで開発されているオープンソースのブログソフトウェアです。データベース管理システムにはMySQLを用いています。フリーのブログソフトウェアの中では最も人気が高く、PHPとHTMLを使って簡単にテンプレートをカスタマイズすることができます。

Vagrant

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

1グッド

1クリップ

投稿2021/11/11 01:53

編集2021/11/11 07:36

Vagrantを使用して、仮想マシンを作成しようとしていますが、本のように、running(virtualbox)と表示されません
ビジネスサイトを作って学ぶWordPressの教科書19ページ
PCはマックを使用しております。著者の本の正誤表はすでに確認しております。

コードの表示(ブロック)

Last login: Thu Nov 11 14:34:52 on ttys000 The default interactive shell is now zsh. To update your account to use zsh, please run `chsh -s /bin/zsh`. For more details, please visit https://support.apple.com/kb/HT208050. kei-no-MacBook-Air:~ kei$ cd /Users/kei/Desktop/ kei-no-MacBook-Air:Desktop kei$ mkdir pacificmall kei-no-MacBook-Air:Desktop kei$ cd pacificmall kei-no-MacBook-Air:pacificmall kei$ vagrant init prime-strategy/kusanagi-wp5 --box-version 1.0 A `Vagrantfile` has been placed in this directory. You are now ready to `vagrant up` your first virtual environment! Please read the comments in the Vagrantfile as well as documentation on `vagrantup.com` for more information on using Vagrant. kei-no-MacBook-Air:pacificmall kei$ ls Vagrantfile kei-no-MacBook-Air:pacificmall kei$ vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Importing base box 'prime-strategy/kusanagi-wp5'... ==> default: Matching MAC address for NAT networking... ==> default: Checking if box 'prime-strategy/kusanagi-wp5' version '1.0' is up to date... ==> default: There was a problem while downloading the metadata for your box ==> default: to check for updates. This is not an error, since it is usually due ==> default: to temporary network problems. This is just a warning. The problem ==> default: encountered was: ==> default: ==> default: SSL certificate problem: self signed certificate in certificate chain ==> default: ==> default: If you want to check for box updates, verify your network connection ==> default: is valid and try again. ==> default: Setting the name of the VM: pacificmall_default_1636615684491_31898 ==> default: Clearing any previously set network interfaces... The IP address configured for the host-only network is not within the allowed ranges. Please update the address used to be within the allowed ranges and run the command again. Address: 192.168.33.10 Ranges: 192.168.56.0/21 Valid ranges can be modified in the /etc/vbox/networks.conf file. For more information including valid format see: https://www.virtualbox.org/manual/ch06.html#network_hostonly kei-no-MacBook-Air:pacificmall kei$ vagrant status Current machine states: default poweroff (virtualbox) The VM is powered off. To restart the VM, simply run `vagrant up` kei-no-MacBook-Air:pacificmall kei$ コードの表示(ブロック)
cebook007👍を押しています

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

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

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

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

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

guest

回答1

0

ベストアンサー

/Users/username/Desktop/

ここには実在するディレクトリ(フォルダ)名を入力してください。
おそらくusernameのところにあなたのユーザー名が入るのかと。

投稿2021/11/11 01:58

itagagaki

総合スコア8402

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

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

2232

2021/11/11 02:07

ありがとうございます、エラーの一つが解決しました、 ただ、まだエラーが発生してしまします。
2232

2021/11/11 02:50

未だに、 Error: SSL certificate problem: self signed certificate in certificate chain というエラーが出てしまいます。
2232

2021/11/11 06:07

Vagrantfileにconfig.vm.box_download_insecure = trueと入力したらエラーが消えました。 それでも、running(virtualbox)と表示されません。
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

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

ただいまの回答率
85.48%

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

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

質問する

関連した質問