teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

2

vagrantfileを追記します

2019/06/18 21:09

投稿

taboopython
taboopython

スコア40

title CHANGED
File without changes
body CHANGED
@@ -20,4 +20,79 @@
20
20
  ...' https://vagrantcloud.com ')
21
21
 
22
22
 
23
- なお、環境はwindows10、virtualBoxvirtualBoxインストール済みです。
23
+ なお、環境はwindows10、virtualBoxvirtualBoxインストール済みです。
24
+
25
+ vagrantfileの更新内容
26
+ ```python
27
+ # -*- mode: ruby -*-
28
+ # vi: set ft=ruby :
29
+
30
+ # All Vagrant configuration is done below. The "2" in Vagrant.configure
31
+ # configures the configuration version (we support older styles for
32
+ # backwards compatibility). Please don't change it unless you know what
33
+ # you're doing.
34
+ Vagrant.configure("2") do |config|
35
+ # The most common configuration options are documented and commented below.
36
+ # For a complete reference, please see the online documentation at
37
+ # https://docs.vagrantup.com.
38
+
39
+ # Every Vagrant development environment requires a box. You can search for
40
+ # boxes at https://vagrantcloud.com/search.
41
+ config.vm.box = "ubuntu/xenial64"
42
+
43
+ # Disable automatic box update checking. If you disable this, then
44
+ # boxes will only be checked for updates when the user runs
45
+ # `vagrant box outdated`. This is not recommended.
46
+ # config.vm.box_check_update = false
47
+
48
+ # Create a forwarded port mapping which allows access to a specific port
49
+ # within the machine from a port on the host machine. In the example below,
50
+ # accessing "localhost:8080" will access port 80 on the guest machine.
51
+ # NOTE: This will enable public access to the opened port
52
+ # config.vm.network "forwarded_port", guest: 80, host: 8080
53
+
54
+ # Create a forwarded port mapping which allows access to a specific port
55
+ # within the machine from a port on the host machine and only allow access
56
+ # via 127.0.0.1 to disable public access
57
+ # config.vm.network "forwarded_port", guest: 80, host: 8080, host_ip: "127.0.0.1"
58
+
59
+ # Create a private network, which allows host-only access to the machine
60
+ # using a specific IP.
61
+ # config.vm.network "private_network", ip: "192.168.33.10"
62
+
63
+ # Create a public network, which generally matched to bridged network.
64
+ # Bridged networks make the machine appear as another physical device on
65
+ # your network.
66
+ # config.vm.network "public_network"
67
+
68
+ # Share an additional folder to the guest VM. The first argument is
69
+ # the path on the host to the actual folder. The second argument is
70
+ # the path on the guest to mount the folder. And the optional third
71
+ # argument is a set of non-required options.
72
+ # config.vm.synced_folder "../data", "/vagrant_data"
73
+
74
+ # Provider-specific configuration so you can fine-tune various
75
+ # backing providers for Vagrant. These expose provider-specific options.
76
+ # Example for VirtualBox:
77
+ #
78
+ # config.vm.provider "virtualbox" do |vb|
79
+ # # Display the VirtualBox GUI when booting the machine
80
+ # vb.gui = true
81
+ #
82
+ # # Customize the amount of memory on the VM:
83
+ # vb.memory = "1024"
84
+ # end
85
+ #
86
+ # View the documentation for the provider you are using for more
87
+ # information on available options.
88
+
89
+ # Enable provisioning with a shell script. Additional provisioners such as
90
+ # Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the
91
+ # documentation for more information about their specific syntax and use.
92
+ # config.vm.provision "shell", inline: <<-SHELL
93
+ # apt-get update
94
+ # apt-get install -y apache2
95
+ # SHELL
96
+ end
97
+
98
+ ```

1

コードをコード用で表示し直しました

2019/06/18 21:09

投稿

taboopython
taboopython

スコア40

title CHANGED
File without changes
body CHANGED
@@ -1,11 +1,13 @@
1
1
  Linux環境を準備中です。
2
2
  元もとは以下のようなエラーが出てたため、以下にある<対応したこと>を実行したもののなかなかうまくいきません。原因や対応方法がおわかりになる方がいらっしゃいましたらご教示いただければ幸いです。
3
3
 
4
+ ```python
4
5
  The box 'ubuntu/xenia164' could not be found or
5
6
  could not be accessed in the remote catalog. If this is a private
6
7
  box on HashiCorp's Vagrant Cloud, please verify you're logged in via
7
8
  `vagrant login`. Also, please double-check the name. The expanded
8
9
  URL and error message are shown below:
10
+ ```
9
11
 
10
12
 
11
13
  <対応したこと>