質問編集履歴

3

内容の変更

2021/11/12 13:22

投稿

2232
2232

スコア298

test CHANGED
File without changes
test CHANGED
@@ -36,7 +36,9 @@
36
36
 
37
37
 
38
38
 
39
- ```ここに言語を入力
39
+ pacificmall
40
+
41
+ ```
40
42
 
41
43
  Last login: Fri Nov 12 18:21:13 on ttys000
42
44
 
@@ -119,3 +121,159 @@
119
121
  kei-no-MacBook-Air:pacificmall kei$
120
122
 
121
123
  ```
124
+
125
+
126
+
127
+
128
+
129
+
130
+
131
+ Vagrantfile
132
+
133
+ ```
134
+
135
+ # -*- mode: ruby -*-
136
+
137
+ # vi: set ft=ruby :
138
+
139
+
140
+
141
+ # All Vagrant configuration is done below. The "2" in Vagrant.configure
142
+
143
+ # configures the configuration version (we support older styles for
144
+
145
+ # backwards compatibility). Please don't change it unless you know what
146
+
147
+ # you're doing.
148
+
149
+ Vagrant.configure("2") do |config|
150
+
151
+ # The most common configuration options are documented and commented below.
152
+
153
+ # For a complete reference, please see the online documentation at
154
+
155
+ # https://docs.vagrantup.com.
156
+
157
+
158
+
159
+ # Every Vagrant development environment requires a box. You can search for
160
+
161
+ # boxes at https://vagrantcloud.com/search.
162
+
163
+ config.vm.box = "prime-strategy/kusanagi-wp5"
164
+
165
+ config.vm.box_version = "1.0"
166
+
167
+
168
+
169
+ # Disable automatic box update checking. If you disable this, then
170
+
171
+ # boxes will only be checked for updates when the user runs
172
+
173
+ # `vagrant box outdated`. This is not recommended.
174
+
175
+ # config.vm.box_check_update = false
176
+
177
+
178
+
179
+ # Create a forwarded port mapping which allows access to a specific port
180
+
181
+ # within the machine from a port on the host machine. In the example below,
182
+
183
+ # accessing "localhost:8080" will access port 80 on the guest machine.
184
+
185
+ # NOTE: This will enable public access to the opened port
186
+
187
+ # config.vm.network "forwarded_port", guest: 80, host: 8080
188
+
189
+
190
+
191
+ # Create a forwarded port mapping which allows access to a specific port
192
+
193
+ # within the machine from a port on the host machine and only allow access
194
+
195
+ # via 127.0.0.1 to disable public access
196
+
197
+ # config.vm.network "forwarded_port", guest: 80, host: 8080, host_ip: "127.0.0.1"
198
+
199
+
200
+
201
+ # Create a private network, which allows host-only access to the machine
202
+
203
+ # using a specific IP.
204
+
205
+ config.vm.network "private_network", ip: "192.168.33.10"
206
+
207
+
208
+
209
+ # Create a public network, which generally matched to bridged network.
210
+
211
+ # Bridged networks make the machine appear as another physical device on
212
+
213
+ # your network.
214
+
215
+ # config.vm.network "public_network"
216
+
217
+
218
+
219
+ # Share an additional folder to the guest VM. The first argument is
220
+
221
+ # the path on the host to the actual folder. The second argument is
222
+
223
+ # the path on the guest to mount the folder. And the optional third
224
+
225
+ # argument is a set of non-required options.
226
+
227
+ # config.vm.synced_folder "../data", "/vagrant_data"
228
+
229
+
230
+
231
+ # Provider-specific configuration so you can fine-tune various
232
+
233
+ # backing providers for Vagrant. These expose provider-specific options.
234
+
235
+ # Example for VirtualBox:
236
+
237
+ #
238
+
239
+ # config.vm.provider "virtualbox" do |vb|
240
+
241
+ # # Display the VirtualBox GUI when booting the machine
242
+
243
+ # vb.gui = true
244
+
245
+ #
246
+
247
+ # # Customize the amount of memory on the VM:
248
+
249
+ # vb.memory = "1024"
250
+
251
+ # end
252
+
253
+ #
254
+
255
+ # View the documentation for the provider you are using for more
256
+
257
+ # information on available options.
258
+
259
+
260
+
261
+ # Enable provisioning with a shell script. Additional provisioners such as
262
+
263
+ # Ansible, Chef, Docker, Puppet and Salt are also available. Please see the
264
+
265
+ # documentation for more information about their specific syntax and use.
266
+
267
+ # config.vm.provision "shell", inline: <<-SHELL
268
+
269
+ # apt-get update
270
+
271
+ # apt-get install -y apache2
272
+
273
+ # SHELL
274
+
275
+ end
276
+
277
+
278
+
279
+ ```

2

内容の追加

2021/11/12 13:22

投稿

2232
2232

スコア298

test CHANGED
File without changes
test CHANGED
@@ -33,3 +33,89 @@
33
33
 
34
34
 
35
35
  と出てきますが、その方法がわかりません、どなたかわかる方はいらっしゃいますか?
36
+
37
+
38
+
39
+ ```ここに言語を入力
40
+
41
+ Last login: Fri Nov 12 18:21:13 on ttys000
42
+
43
+
44
+
45
+ The default interactive shell is now zsh.
46
+
47
+ To update your account to use zsh, please run `chsh -s /bin/zsh`.
48
+
49
+ For more details, please visit https://support.apple.com/kb/HT208050.
50
+
51
+ kei-no-MacBook-Air:~ kei$ cd /Users/kei/Desktop/
52
+
53
+ kei-no-MacBook-Air:Desktop kei$ mkdir pacificmall
54
+
55
+ kei-no-MacBook-Air:Desktop kei$ cd pacificmall
56
+
57
+ kei-no-MacBook-Air:pacificmall kei$ vagrant init prime-strategy/kusanagi-wp5 --box-version 1.0
58
+
59
+ A `Vagrantfile` has been placed in this directory. You are now
60
+
61
+ ready to `vagrant up` your first virtual environment! Please read
62
+
63
+ the comments in the Vagrantfile as well as documentation on
64
+
65
+ `vagrantup.com` for more information on using Vagrant.
66
+
67
+ kei-no-MacBook-Air:pacificmall kei$ ls
68
+
69
+ Vagrantfile
70
+
71
+ kei-no-MacBook-Air:pacificmall kei$ vagrant up
72
+
73
+ Bringing machine 'default' up with 'virtualbox' provider...
74
+
75
+ ==> default: Importing base box 'prime-strategy/kusanagi-wp5'...
76
+
77
+ ==> default: Matching MAC address for NAT networking...
78
+
79
+ ==> default: Checking if box 'prime-strategy/kusanagi-wp5' version '1.0' is up to date...
80
+
81
+ ==> default: Setting the name of the VM: pacificmall_default_1636709061685_47836
82
+
83
+ ==> default: Clearing any previously set network interfaces...
84
+
85
+ The IP address configured for the host-only network is not within the
86
+
87
+ allowed ranges. Please update the address used to be within the allowed
88
+
89
+ ranges and run the command again.
90
+
91
+
92
+
93
+ Address: 192.168.33.10
94
+
95
+ Ranges: 192.168.56.0/21
96
+
97
+
98
+
99
+ Valid ranges can be modified in the /etc/vbox/networks.conf file. For
100
+
101
+ more information including valid format see:
102
+
103
+
104
+
105
+ https://www.virtualbox.org/manual/ch06.html#network_hostonly
106
+
107
+ kei-no-MacBook-Air:pacificmall kei$ vagrant status
108
+
109
+ Current machine states:
110
+
111
+
112
+
113
+ default poweroff (virtualbox)
114
+
115
+
116
+
117
+ The VM is powered off. To restart the VM, simply run `vagrant up`
118
+
119
+ kei-no-MacBook-Air:pacificmall kei$
120
+
121
+ ```

1

内容の追加

2021/11/12 09:27

投稿

2232
2232

スコア298

test CHANGED
File without changes
test CHANGED
@@ -1,3 +1,9 @@
1
+ 開発環境の準備で、
2
+
3
+ ワードプレスでサイトを作成するつもりです。
4
+
5
+
6
+
1
7
  仮想マシンの環境設定を行おうとすると、エラーが出てきます。
2
8
 
3
9
  エラーの、英文を日本語に直すと、