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

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

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

Windows 10は、マイクロソフト社がリリースしたOSです。Modern UIを標準画面にした8.1から、10では再びデスクトップ主体に戻され、UIも変更されています。PCやスマホ、タブレットなど様々なデバイスに幅広く対応していることが特徴です。

WordPress

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

Vagrant

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

Q&A

0回答

929閲覧

vagrant upを実行したらエラーがあり原因が分かりません。

oyu

総合スコア48

Windows 10

Windows 10は、マイクロソフト社がリリースしたOSです。Modern UIを標準画面にした8.1から、10では再びデスクトップ主体に戻され、UIも変更されています。PCやスマホ、タブレットなど様々なデバイスに幅広く対応していることが特徴です。

WordPress

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

Vagrant

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

0グッド

0クリップ

投稿2020/10/08 03:39

編集2020/10/10 00:58

前提・実現したいこと

エラーコードになります。
Permission denied @ rb_sysopen - C:/WINDOWS/system32/drivers/etc/hosts (Errno::EACCES)

https://qiita.com/Ayutanalects/items/37978b78a9c5ed1805d1
こちらのサイトを参考に手順通りに進めておりますが
ブラウザが起動しません。
原因は何でしょうか?

パスの指定ですがこちらになります。
http://vccw.test/

イメージ説明

イメージ説明

site.ymlのコードになります。 # encoding: utf-8 # vim: ft=ruby expandtab shiftwidth=2 tabstop=2 # # General Settings # wp_box: vccw-team/xenial64 # # Virtual Machine Settings # memory: 1024 cpus: 1 # # Network Settings # hostname: project.dev ip: 192.168.33.10 # # Vagrant Hostsupdater Aliases # Manage additional entries in the /etc/hosts file using vagrant-hostsupdater # hostname_aliases: - www.vccw.test # - some.subdomain.vccw.test # # WordPress Settings # version: latest lang: ja title: Welcome to the VCCW multisite: false rewrite_structure: /archives/%post_id% # # WordPress Path # wp_siteurl: '' # Path to the WP_SITEURL like "wp" wp_home: '' # Path to the WP_HOME like "wp" # # WordPress User # admin_user: admin admin_pass: admin admin_email: vccw@example.com # # WordPress Database # db_prefix: wp_ db_host: localhost db_name: wordpress db_user: wordpress db_pass: wordpress # # WordPress Default Plugins # Plugin's slug or url to the plugin's slug. # plugins: - logbook # # WordPress Default Theme # Theme's slug or url to the theme's .zip. # theme: '' # # WordPress Options # options: blogdescription: Hello VCCW. # # WordPress Multisite Options # multisite_options: {} # # The values of wp-config.php # force_ssl_admin: false wp_debug: true savequeries: false gitignore: https://raw.githubusercontent.com/github/gitignore/master/WordPress.gitignore # # Additional PHP code in the wp-config.php # extra_wp_config: | // Additional PHP code in the wp-config.php // These lines are inserted by VCCW. // You can place additional PHP code here! # # Theme unit testing # theme_unit_test: false theme_unit_test_uri: https://raw.githubusercontent.com/WPTRT/theme-unit-test/master/themeunittestdata.wordpress.xml # theme_unit_test_uri: https://raw.githubusercontent.com/jawordpressorg/theme-test-data-ja/master/wordpress-theme-test-date-ja.xml # # DB will be reset when provision # reset_db_on_provision: true # # RubyGems # Wordmove will be forcibly installed. # ruby_gems: - bundler - wordmove mailcatcher: true wp_i18n_tools: true # # NPM modules # npms: [] # # composer # composers: - phpunit/phpunit:5.6 - squizlabs/php_codesniffer:~2.0 - wp-coding-standards/wpcs:* # - phpmd/phpmd:* # - sebastian/phpcpd:* # - phploc/phploc:* # - phing/phing:* # # wp-cli package commands # wp_cli_packages: - https://github.com/vccw-team/wp-cli-scaffold-movefile/archive/master.zip # # Linked Clone for Vagrant v1.8 # linked_clone: false # # Advanced Settings # # # PHP ini values # php_ini: date.timezone: UTC default_charset: UTF-8 mbstring.language: neutral mbstring.internal_encoding: UTF-8 post_max_size: 1024M # Same with VVV short_open_tag: Off session.save_path: /tmp upload_max_filesize: 1024M # Same with VVV xdebug.remote_enable: true xdebug.remote_host: 127.0.0.1 xdebug.remote_port: 9000 xdebug.profiler_enable: true xdebug.idekey: VCCWDEBUG xdebug.remote_connect_back: true xdebug.remote_autostart: true synced_folder: wordpress document_root: /var/www/html

Windows

1Windows Teminalのエラーコードになります。 2 3TASK [Install mailcatcher] ***************************************************** 4fatal: [project.dev]: FAILED! => {"changed": false, "cmd": "/usr/bin/gem query --remote -n '^mailcatcher$'", "msg": "ERROR: While executing gem ... (GeGem::Exception)\n Invalid spec cache file in /root/.gem/specs/rubygems.org%443/latest_specs.4.8", "rc": 1, "stderr": "ERROR: While executing gem . (.. (Gem::Exception)\n Invalid spec cache file in /root/.gem/specs/rubygems.org%443/latest_specs.4.8\n", "stderr_lines": ["ERROR: While executing g..em ... (Gem::Exception)", " Invalid spec cache file in /root/.gem/specs/rubygems.org%443/latest_specs.4.8"], "stdout": "", "stdout_lines": []} 5 6RUNNING HANDLER [restart apache] *********************************************** 7 8RUNNING HANDLER [restart mysql] ************************************************ 9 to retry, use: --limit @/vagrant/provision/playbook.retry 10 11PLAY RECAP ********************************************************************* 12project.dev : ok=38 changed=35 unreachable=0 failed=1 13 14Ansible failed to complete successfully. Any error output should be 15visible above. Please fix these errors and try again.

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

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

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

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

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

guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだ回答がついていません

会員登録して回答してみよう

アカウントをお持ちの方は

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

ただいまの回答率
85.48%

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

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

質問する

関連した質問