質問編集履歴

9

追加編集しました

2020/10/10 00:58

投稿

oyu
oyu

スコア48

test CHANGED
File without changes
test CHANGED
@@ -1,6 +1,12 @@
1
1
  ### 前提・実現したいこと
2
2
 
3
-
3
+ エラーコードになります。
4
+
5
+ Permission denied @ rb_sysopen - C:/WINDOWS/system32/drivers/etc/hosts (Errno::EACCES)
6
+
7
+
8
+
9
+ https://qiita.com/Ayutanalects/items/37978b78a9c5ed1805d1
4
10
 
5
11
  こちらのサイトを参考に手順通りに進めておりますが
6
12
 
@@ -14,7 +20,9 @@
14
20
 
15
21
  http://vccw.test/
16
22
 
17
- エラーコードになります。
23
+
24
+
25
+
18
26
 
19
27
  ![イメージ説明](d76367d1ce7251cb8fc559436d9419b6.png)
20
28
 

8

追加編集しました

2020/10/10 00:58

投稿

oyu
oyu

スコア48

test CHANGED
@@ -1 +1 @@
1
- Windows10でVCCWWordPressのロカル開発環境を作っていますWordPress 初期の画面にアクセスできません。
1
+ vagrant up実行したらエラーがあり原因が分かりません。
test CHANGED
File without changes

7

追加編集しました

2020/10/09 05:05

投稿

oyu
oyu

スコア48

test CHANGED
File without changes
test CHANGED
@@ -390,6 +390,8 @@
390
390
 
391
391
  ```Windows Teminalのエラーコードになります。
392
392
 
393
+ Windows Teminalのエラーコードになります。
394
+
393
395
 
394
396
 
395
397
  TASK [Install mailcatcher] *****************************************************

6

追加編集しました

2020/10/09 04:24

投稿

oyu
oyu

スコア48

test CHANGED
File without changes
test CHANGED
@@ -20,11 +20,7 @@
20
20
 
21
21
 
22
22
 
23
- ![イメージ説明](3893e076bfba820f9f1be54321b8535f.png)
23
+ ![イメージ説明](da120b3e344806da548823b5a3f463cf.png)
24
-
25
-
26
-
27
- ![イメージ説明](258fbd98e9647a53d926efd0909aa5be.png)
28
24
 
29
25
 
30
26
 

5

追加編集しました

2020/10/09 04:22

投稿

oyu
oyu

スコア48

test CHANGED
File without changes
test CHANGED
@@ -68,7 +68,7 @@
68
68
 
69
69
  #
70
70
 
71
- hostname: vccw.test
71
+ hostname: project.dev
72
72
 
73
73
  ip: 192.168.33.10
74
74
 
@@ -390,248 +390,36 @@
390
390
 
391
391
  document_root: /var/www/html
392
392
 
393
-
394
-
395
393
  ```
396
394
 
397
- ```ここ言語を入力
398
-
399
- Windows PowerShellの中身になります。
400
-
401
-
402
-
403
- Windows PowerShell
404
-
405
- Copyright (C) Microsoft Corporation. All rights reserved.
406
-
407
- 新しいクロスプラットフォームの PowerShell をお試しください https://aka.ms/pscore6
408
-
409
- PS C:\Users\rb197.VirtualBox> vagrant -v
410
-
411
- Vagrant 2.2.10
412
-
413
- PS C:\Users\rb197.VirtualBox> vagrant plugin install vagrant-hostsupdater
414
-
415
- Installing the 'vagrant-hostsupdater' plugin. This can take a few minutes...
416
-
417
- Installed the plugin 'vagrant-hostsupdater (1.1.1.160)'!
418
-
419
- PS C:\Users\rb197.VirtualBox> vagrant plugin list
420
-
421
- PS C:\Users\rb197.VirtualBox> vagrant box add vccw-team/xenlia164
422
-
423
- box on HashiCorp's Vagrant Cloud, please verify you're logged in via
424
-
425
- `vagrant login`. Also, please double-check the name. The expanded
426
-
427
- URL and error message are shown below:
428
-
429
-
430
-
431
- URL: ["https://vagrantcloud.com/vccw-team/xenlia164"]
432
-
433
- Error: The requested URL returned error: 404 Not Found
434
-
435
- PS C:\Users\rb197.VirtualBox> vagrant box add vccw-team/xenial64
436
-
437
- >>
438
-
439
- ==> box: Loading metadata for box 'vccw-team/xenial64'
440
-
441
- box: URL: https://vagrantcloud.com/vccw-team/xenial64
442
-
443
- ==> box: Adding box 'vccw-team/xenial64' (v20180107) for provider: virtualbox
444
-
445
- The box you're attempting to add already exists. Remove it before
446
-
447
- adding it again or add it with the `--force` flag.
448
-
449
-
450
-
451
- Name: vccw-team/xenial64
452
-
453
- Provider: virtualbox
454
-
455
- Version: 20180107
456
-
457
- PS C:\Users\rb197.VirtualBox> vagrant box list
458
-
459
- vccw-team/xenial64 (virtualbox, 20180107)
460
-
461
- PS C:\Users\rb197.VirtualBox> cd C:\Users\rb197.VirtualBox\wplocal
462
-
463
- PS C:\Users\rb197.VirtualBox\wplocal> vagrant up
464
-
465
- Bringing machine 'vccw.test' up with 'virtualbox' provider...
466
-
467
- ==> vccw.test: This machine used to live in C:/Users/rb197/Desktop/vccw but it's now at C:/Users/rb197/.VirtualBox/wplocal.
468
-
469
- ==> vccw.test: Depending on your current provider you may need to change the name of
470
-
471
- ==> vccw.test: the machine to run it as a different machine.
472
-
473
- ==> vccw.test: Checking if box 'vccw-team/xenial64' version '20180107' is up to date...
474
-
475
- ==> vccw.test: Clearing any previously set forwarded ports...
476
-
477
- ==> vccw.test: Clearing any previously set network interfaces...
478
-
479
- ==> vccw.test: Preparing network interfaces based on configuration...
480
-
481
- vccw.test: Adapter 1: nat
482
-
483
- vccw.test: Adapter 2: hostonly
484
-
485
- ==> vccw.test: Forwarding ports...
486
-
487
- vccw.test: 22 (guest) => 2222 (host) (adapter 1)
488
-
489
- ==> vccw.test: Running 'pre-boot' VM customizations...
490
-
491
- ==> vccw.test: Booting VM...
492
-
493
- ==> vccw.test: Waiting for machine to boot. This may take a few minutes...
494
-
495
- vccw.test: SSH address: 127.0.0.1:2222
496
-
497
- vccw.test: SSH username: vagrant
498
-
499
- vccw.test: SSH auth method: private key
500
-
501
- vccw.test: Warning: Connection reset. Retrying...
502
-
503
- ==> vccw.test: Machine booted and ready!
504
-
505
- ==> vccw.test: Checking for guest additions in VM...
506
-
507
- vccw.test: VirtualBox! In most cases this is fine, but in rare cases it can
508
-
509
- vccw.test: prevent things such as shared folders from working properly. If you see
510
-
511
- vccw.test: shared folder errors, please make sure the guest additions within the
512
-
513
- vccw.test: virtual machine match the version of VirtualBox you have installed on
514
-
515
- vccw.test: your host and reload your VM.
516
-
517
- vccw.test:
518
-
519
- vccw.test: Guest Additions Version: 5.2.2
520
-
521
- vccw.test: VirtualBox Version: 6.1
522
-
523
- ==> vccw.test: [vagrant-hostsupdater] Checking for host entries
524
-
525
- ==> vccw.test: [vagrant-hostsupdater] found entry for: 192.168.33.10 vccw.test
526
-
527
- ==> vccw.test: [vagrant-hostsupdater] found entry for: 192.168.33.10 www.vccw.test
528
-
529
- ==> vccw.test: Setting hostname...
530
-
531
- ==> vccw.test: Configuring and enabling network interfaces...
532
-
533
- ==> vccw.test: Mounting shared folders...
534
-
535
- vccw.test: /vagrant => C:/Users/rb197/.VirtualBox/wplocal
536
-
537
- vccw.test: /var/www/html => C:/Users/rb197/.VirtualBox/wplocal/wordpress
538
-
539
- ==> vccw.test: Detected mount owner ID within mount options. (uid: 1000 guestpath: /var/www/html)
540
-
541
- ==> vccw.test: Detected mount group ID within mount options. (gid: 1000 guestpath: /var/www/html)
542
-
543
- ==> vccw.test: Machine already provisioned. Run `vagrant provision` or use the `--provision`
544
-
545
- ==> vccw.test: flag to force provisioning. Provisioners marked to run always will still run.
546
-
547
- PS C:\Users\rb197.VirtualBox\wplocal> vagrant status
548
-
549
- Current machine states:
550
-
551
-
552
-
553
- vccw.test running (virtualbox)
554
-
555
-
556
-
557
- The VM is running. To stop this VM, you can run `vagrant halt` to
558
-
559
- shut it down forcefully, or you can run `vagrant suspend` to simply
560
-
561
- suspend the virtual machine. In either case, to restart it again,
562
-
563
- simply run `vagrant up`.
564
-
565
- PS C:\Users\rb197.VirtualBox\wplocal> vagrant ssh
566
-
567
- Welcome to Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0-87-generic x86_64)
568
-
569
-
570
-
571
- * Documentation: https://help.ubuntu.com
572
-
573
- * Management: https://landscape.canonical.com
574
-
575
- * Support: https://ubuntu.com/advantage
576
-
577
-
578
-
579
- 2 packages can be updated.
580
-
581
- 0 updates are security updates.
582
-
583
-
584
-
585
-
586
-
587
- vagrant@vccw:~$ ssh-keygen
588
-
589
- Generating public/private rsa key pair.
590
-
591
- Enter file in which to save the key (/home/vagrant/.ssh/id_rsa):
592
-
593
- Enter passphrase (empty for no passphrase):
594
-
595
- Enter same passphrase again:
596
-
597
- Your identification has been saved in /home/vagrant/.ssh/id_rsa.
598
-
599
- Your public key has been saved in /home/vagrant/.ssh/id_rsa.pub.
600
-
601
- The key fingerprint is:
602
-
603
- SHA256:rbXAi63MTqTzS5uHjgnui+4AIRb0/owPRrpK9pyrjPQ vagrant@vccw
604
-
605
- The key's randomart image is:
606
-
607
- +---[RSA 2048]----+
608
-
609
- |.o |
610
-
611
- | o |
612
-
613
- |o. . |
614
-
615
- |o.. . . |
616
-
617
- |. o . S o |
618
-
619
- |. o +o o = . |
620
-
621
- |.=.+oo+.+ . |
622
-
623
- |Bo*.+X.+. |
624
-
625
- |BB=E++@o |
626
-
627
- +----[SHA256]-----+
628
-
629
- vagrant@vccw:~$
630
-
631
- vagrant@vccw:~$ Enter same passphrese
632
-
633
- -bash: Enter: command not found
634
-
635
- vagrant@vccw:~$
395
+ ```Windows Teminalのエラーコードなります。
396
+
397
+
398
+
399
+ TASK [Install mailcatcher] *****************************************************
400
+
401
+ fatal: [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": []}
402
+
403
+
404
+
405
+ RUNNING HANDLER [restart apache] ***********************************************
406
+
407
+
408
+
409
+ RUNNING HANDLER [restart mysql] ************************************************
410
+
411
+ to retry, use: --limit @/vagrant/provision/playbook.retry
412
+
413
+
414
+
415
+ PLAY RECAP *********************************************************************
416
+
417
+ project.dev : ok=38 changed=35 unreachable=0 failed=1
418
+
419
+
420
+
421
+ Ansible failed to complete successfully. Any error output should be
422
+
423
+ visible above. Please fix these errors and try again.
636
424
 
637
425
  ```

4

修正しました。

2020/10/09 04:20

投稿

oyu
oyu

スコア48

test CHANGED
@@ -1 +1 @@
1
- Windows10でVCCWをWordPressのローカル開発環境を作っていますがwordpressの管理画面が表示できません。
1
+ Windows10でVCCWをWordPressのローカル開発環境を作っていますがWordPress 初期の画面にアクセスできません。
test CHANGED
@@ -14,6 +14,10 @@
14
14
 
15
15
  http://vccw.test/
16
16
 
17
+ エラーコードになります。
18
+
19
+ ![イメージ説明](d76367d1ce7251cb8fc559436d9419b6.png)
20
+
17
21
 
18
22
 
19
23
  ![イメージ説明](3893e076bfba820f9f1be54321b8535f.png)

3

追加編集しました

2020/10/08 23:42

投稿

oyu
oyu

スコア48

test CHANGED
File without changes
test CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  ブラウザが起動しません。
8
8
 
9
- 原因はないでしょうか?
9
+ 原因はでしょうか?
10
10
 
11
11
 
12
12
 

2

追加編集しました

2020/10/08 04:05

投稿

oyu
oyu

スコア48

test CHANGED
File without changes
test CHANGED
@@ -6,6 +6,10 @@
6
6
 
7
7
  ブラウザが起動しません。
8
8
 
9
+ 原因はないでしょうか?
10
+
11
+
12
+
9
13
  パスの指定ですがこちらになります。
10
14
 
11
15
  http://vccw.test/

1

修正しました。

2020/10/08 04:04

投稿

oyu
oyu

スコア48

test CHANGED
File without changes
test CHANGED
@@ -16,6 +16,10 @@
16
16
 
17
17
 
18
18
 
19
+ ![イメージ説明](258fbd98e9647a53d926efd0909aa5be.png)
20
+
21
+
22
+
19
23
  ```ここに言語を入力
20
24
 
21
25
  site.ymlのコードになります。