質問編集履歴

2

誤字

2017/12/12 13:44

投稿

nxrxaxkxr
nxrxaxkxr

スコア6

test CHANGED
File without changes
test CHANGED
@@ -204,6 +204,6 @@
204
204
 
205
205
 
206
206
 
207
- **環境設定の保存に失敗する事象に関して**
207
+ **環境設定の保存に失敗する事象に関して**
208
208
 
209
209
  ググっては見たのですが、あまりよさそうな情報が見つからず、結局何も試せていません。

1

画像の設定ミス

2017/12/12 13:44

投稿

nxrxaxkxr
nxrxaxkxr

スコア6

test CHANGED
File without changes
test CHANGED
@@ -32,164 +32,160 @@
32
32
 
33
33
 
34
34
 
35
+ ![実際に表示されているエラー](a08241833fefd91f49c36c2656cc5d3d.png)
36
+
37
+
38
+
39
+ ###Vagrantfile
40
+
41
+ ```Ruby
42
+
43
+ # -*- mode: ruby -*-
44
+
45
+ # vi: set ft=ruby :
46
+
47
+
48
+
49
+ # All Vagrant configuration is done below. The "2" in Vagrant.configure
50
+
51
+ # configures the configuration version (we support older styles for
52
+
53
+ # backwards compatibility). Please don't change it unless you know what
54
+
55
+ # you're doing.
56
+
57
+ Vagrant.configure("2") do |config|
58
+
59
+ # The most common configuration options are documented and commented below.
60
+
61
+ # For a complete reference, please see the online documentation at
62
+
63
+ # https://docs.vagrantup.com.
64
+
65
+
66
+
67
+ # Every Vagrant development environment requires a box. You can search for
68
+
69
+ # boxes at https://atlas.hashicorp.com/search.
70
+
71
+ config.vm.box = "puphpet/centos65-x64"
72
+
73
+
74
+
75
+ # Disable automatic box update checking. If you disable this, then
76
+
77
+ # boxes will only be checked for updates when the user runs
78
+
79
+ # `vagrant box outdated`. This is not recommended.
80
+
81
+ # config.vm.box_check_update = false
82
+
83
+
84
+
85
+ # Create a forwarded port mapping which allows access to a specific port
86
+
87
+ # within the machine from a port on the host machine. In the example below,
88
+
89
+ # accessing "localhost:8080" will access port 80 on the guest machine.
90
+
91
+ config.vm.network "forwarded_port", guest: 80, host: 8080
92
+
93
+
94
+
95
+ # Create a private network, which allows host-only access to the machine
96
+
97
+ # using a specific IP.
98
+
99
+ config.vm.network "private_network", ip: "192.168.60.10"
100
+
101
+
102
+
103
+ # Create a public network, which generally matched to bridged network.
104
+
105
+ # Bridged networks make the machine appear as another physical device on
106
+
107
+ # your network.
108
+
109
+ # config.vm.network "public_network"
110
+
111
+
112
+
113
+ # Share an additional folder to the guest VM. The first argument is
114
+
115
+ # the path on the host to the actual folder. The second argument is
116
+
117
+ # the path on the guest to mount the folder. And the optional third
118
+
119
+ # argument is a set of non-required options.
120
+
121
+ # config.vm.synced_folder "../data", "/vagrant_data"
122
+
123
+
124
+
125
+ # Provider-specific configuration so you can fine-tune various
126
+
127
+ # backing providers for Vagrant. These expose provider-specific options.
128
+
129
+ # Example for VirtualBox:
130
+
131
+ #
132
+
133
+ # config.vm.provider "virtualbox" do |vb|
134
+
135
+ # # Display the VirtualBox GUI when booting the machine
136
+
137
+ # vb.gui = true
138
+
139
+ #
140
+
141
+ # # Customize the amount of memory on the VM:
142
+
143
+ # vb.memory = "1024"
144
+
145
+ # end
146
+
147
+ #
148
+
149
+ # View the documentation for the provider you are using for more
150
+
151
+ # information on available options.
152
+
153
+
154
+
155
+ # Define a Vagrant Push strategy for pushing to Atlas. Other push strategies
156
+
157
+ # such as FTP and Heroku are also available. See the documentation at
158
+
159
+ # https://docs.vagrantup.com/v2/push/atlas.html for more information.
160
+
161
+ # config.push.define "atlas" do |push|
162
+
163
+ # push.app = "YOUR_ATLAS_USERNAME/YOUR_APPLICATION_NAME"
164
+
165
+ # end
166
+
167
+
168
+
169
+ # Enable provisioning with a shell script. Additional provisioners such as
170
+
171
+ # Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the
172
+
173
+ # documentation for more information about their specific syntax and use.
174
+
175
+ # config.vm.provision "shell", inline: <<-SHELL
176
+
177
+ # apt-get update
178
+
179
+ # apt-get install -y apache2
180
+
181
+ # SHELL
182
+
183
+ end
184
+
185
+
186
+
35
187
  ```
36
188
 
37
- ![実際に表示されているエラー](3d25a351c964f17b488a5b35f2bffb29.png)
38
-
39
- ```
40
-
41
-
42
-
43
- ###Vagrantfile
44
-
45
- ```Ruby
46
-
47
- # -*- mode: ruby -*-
48
-
49
- # vi: set ft=ruby :
50
-
51
-
52
-
53
- # All Vagrant configuration is done below. The "2" in Vagrant.configure
54
-
55
- # configures the configuration version (we support older styles for
56
-
57
- # backwards compatibility). Please don't change it unless you know what
58
-
59
- # you're doing.
60
-
61
- Vagrant.configure("2") do |config|
62
-
63
- # The most common configuration options are documented and commented below.
64
-
65
- # For a complete reference, please see the online documentation at
66
-
67
- # https://docs.vagrantup.com.
68
-
69
-
70
-
71
- # Every Vagrant development environment requires a box. You can search for
72
-
73
- # boxes at https://atlas.hashicorp.com/search.
74
-
75
- config.vm.box = "puphpet/centos65-x64"
76
-
77
-
78
-
79
- # Disable automatic box update checking. If you disable this, then
80
-
81
- # boxes will only be checked for updates when the user runs
82
-
83
- # `vagrant box outdated`. This is not recommended.
84
-
85
- # config.vm.box_check_update = false
86
-
87
-
88
-
89
- # Create a forwarded port mapping which allows access to a specific port
90
-
91
- # within the machine from a port on the host machine. In the example below,
92
-
93
- # accessing "localhost:8080" will access port 80 on the guest machine.
94
-
95
- config.vm.network "forwarded_port", guest: 80, host: 8080
96
-
97
-
98
-
99
- # Create a private network, which allows host-only access to the machine
100
-
101
- # using a specific IP.
102
-
103
- config.vm.network "private_network", ip: "192.168.60.10"
104
-
105
-
106
-
107
- # Create a public network, which generally matched to bridged network.
108
-
109
- # Bridged networks make the machine appear as another physical device on
110
-
111
- # your network.
112
-
113
- # config.vm.network "public_network"
114
-
115
-
116
-
117
- # Share an additional folder to the guest VM. The first argument is
118
-
119
- # the path on the host to the actual folder. The second argument is
120
-
121
- # the path on the guest to mount the folder. And the optional third
122
-
123
- # argument is a set of non-required options.
124
-
125
- # config.vm.synced_folder "../data", "/vagrant_data"
126
-
127
-
128
-
129
- # Provider-specific configuration so you can fine-tune various
130
-
131
- # backing providers for Vagrant. These expose provider-specific options.
132
-
133
- # Example for VirtualBox:
134
-
135
- #
136
-
137
- # config.vm.provider "virtualbox" do |vb|
138
-
139
- # # Display the VirtualBox GUI when booting the machine
140
-
141
- # vb.gui = true
142
-
143
- #
144
-
145
- # # Customize the amount of memory on the VM:
146
-
147
- # vb.memory = "1024"
148
-
149
- # end
150
-
151
- #
152
-
153
- # View the documentation for the provider you are using for more
154
-
155
- # information on available options.
156
-
157
-
158
-
159
- # Define a Vagrant Push strategy for pushing to Atlas. Other push strategies
160
-
161
- # such as FTP and Heroku are also available. See the documentation at
162
-
163
- # https://docs.vagrantup.com/v2/push/atlas.html for more information.
164
-
165
- # config.push.define "atlas" do |push|
166
-
167
- # push.app = "YOUR_ATLAS_USERNAME/YOUR_APPLICATION_NAME"
168
-
169
- # end
170
-
171
-
172
-
173
- # Enable provisioning with a shell script. Additional provisioners such as
174
-
175
- # Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the
176
-
177
- # documentation for more information about their specific syntax and use.
178
-
179
- # config.vm.provision "shell", inline: <<-SHELL
180
-
181
- # apt-get update
182
-
183
- # apt-get install -y apache2
184
-
185
- # SHELL
186
-
187
- end
188
-
189
-
190
-
191
- ```
192
-
193
189
 
194
190
 
195
191