質問編集履歴
3
内容の変更
title
CHANGED
File without changes
|
body
CHANGED
@@ -17,7 +17,8 @@
|
|
17
17
|
|
18
18
|
と出てきますが、その方法がわかりません、どなたかわかる方はいらっしゃいますか?
|
19
19
|
|
20
|
-
|
20
|
+
pacificmall
|
21
|
+
```
|
21
22
|
Last login: Fri Nov 12 18:21:13 on ttys000
|
22
23
|
|
23
24
|
The default interactive shell is now zsh.
|
@@ -58,4 +59,82 @@
|
|
58
59
|
|
59
60
|
The VM is powered off. To restart the VM, simply run `vagrant up`
|
60
61
|
kei-no-MacBook-Air:pacificmall kei$
|
62
|
+
```
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
Vagrantfile
|
67
|
+
```
|
68
|
+
# -*- mode: ruby -*-
|
69
|
+
# vi: set ft=ruby :
|
70
|
+
|
71
|
+
# All Vagrant configuration is done below. The "2" in Vagrant.configure
|
72
|
+
# configures the configuration version (we support older styles for
|
73
|
+
# backwards compatibility). Please don't change it unless you know what
|
74
|
+
# you're doing.
|
75
|
+
Vagrant.configure("2") do |config|
|
76
|
+
# The most common configuration options are documented and commented below.
|
77
|
+
# For a complete reference, please see the online documentation at
|
78
|
+
# https://docs.vagrantup.com.
|
79
|
+
|
80
|
+
# Every Vagrant development environment requires a box. You can search for
|
81
|
+
# boxes at https://vagrantcloud.com/search.
|
82
|
+
config.vm.box = "prime-strategy/kusanagi-wp5"
|
83
|
+
config.vm.box_version = "1.0"
|
84
|
+
|
85
|
+
# Disable automatic box update checking. If you disable this, then
|
86
|
+
# boxes will only be checked for updates when the user runs
|
87
|
+
# `vagrant box outdated`. This is not recommended.
|
88
|
+
# config.vm.box_check_update = false
|
89
|
+
|
90
|
+
# Create a forwarded port mapping which allows access to a specific port
|
91
|
+
# within the machine from a port on the host machine. In the example below,
|
92
|
+
# accessing "localhost:8080" will access port 80 on the guest machine.
|
93
|
+
# NOTE: This will enable public access to the opened port
|
94
|
+
# config.vm.network "forwarded_port", guest: 80, host: 8080
|
95
|
+
|
96
|
+
# Create a forwarded port mapping which allows access to a specific port
|
97
|
+
# within the machine from a port on the host machine and only allow access
|
98
|
+
# via 127.0.0.1 to disable public access
|
99
|
+
# config.vm.network "forwarded_port", guest: 80, host: 8080, host_ip: "127.0.0.1"
|
100
|
+
|
101
|
+
# Create a private network, which allows host-only access to the machine
|
102
|
+
# using a specific IP.
|
103
|
+
config.vm.network "private_network", ip: "192.168.33.10"
|
104
|
+
|
105
|
+
# Create a public network, which generally matched to bridged network.
|
106
|
+
# Bridged networks make the machine appear as another physical device on
|
107
|
+
# your network.
|
108
|
+
# config.vm.network "public_network"
|
109
|
+
|
110
|
+
# Share an additional folder to the guest VM. The first argument is
|
111
|
+
# the path on the host to the actual folder. The second argument is
|
112
|
+
# the path on the guest to mount the folder. And the optional third
|
113
|
+
# argument is a set of non-required options.
|
114
|
+
# config.vm.synced_folder "../data", "/vagrant_data"
|
115
|
+
|
116
|
+
# Provider-specific configuration so you can fine-tune various
|
117
|
+
# backing providers for Vagrant. These expose provider-specific options.
|
118
|
+
# Example for VirtualBox:
|
119
|
+
#
|
120
|
+
# config.vm.provider "virtualbox" do |vb|
|
121
|
+
# # Display the VirtualBox GUI when booting the machine
|
122
|
+
# vb.gui = true
|
123
|
+
#
|
124
|
+
# # Customize the amount of memory on the VM:
|
125
|
+
# vb.memory = "1024"
|
126
|
+
# end
|
127
|
+
#
|
128
|
+
# View the documentation for the provider you are using for more
|
129
|
+
# information on available options.
|
130
|
+
|
131
|
+
# Enable provisioning with a shell script. Additional provisioners such as
|
132
|
+
# Ansible, Chef, Docker, Puppet and Salt are also available. Please see the
|
133
|
+
# documentation for more information about their specific syntax and use.
|
134
|
+
# config.vm.provision "shell", inline: <<-SHELL
|
135
|
+
# apt-get update
|
136
|
+
# apt-get install -y apache2
|
137
|
+
# SHELL
|
138
|
+
end
|
139
|
+
|
61
140
|
```
|
2
内容の追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -15,4 +15,47 @@
|
|
15
15
|
https://www.virtualbox.org/manual/ch06.html#network_hostonly
|
16
16
|
|
17
17
|
|
18
|
-
と出てきますが、その方法がわかりません、どなたかわかる方はいらっしゃいますか?
|
18
|
+
と出てきますが、その方法がわかりません、どなたかわかる方はいらっしゃいますか?
|
19
|
+
|
20
|
+
```ここに言語を入力
|
21
|
+
Last login: Fri Nov 12 18:21:13 on ttys000
|
22
|
+
|
23
|
+
The default interactive shell is now zsh.
|
24
|
+
To update your account to use zsh, please run `chsh -s /bin/zsh`.
|
25
|
+
For more details, please visit https://support.apple.com/kb/HT208050.
|
26
|
+
kei-no-MacBook-Air:~ kei$ cd /Users/kei/Desktop/
|
27
|
+
kei-no-MacBook-Air:Desktop kei$ mkdir pacificmall
|
28
|
+
kei-no-MacBook-Air:Desktop kei$ cd pacificmall
|
29
|
+
kei-no-MacBook-Air:pacificmall kei$ vagrant init prime-strategy/kusanagi-wp5 --box-version 1.0
|
30
|
+
A `Vagrantfile` has been placed in this directory. You are now
|
31
|
+
ready to `vagrant up` your first virtual environment! Please read
|
32
|
+
the comments in the Vagrantfile as well as documentation on
|
33
|
+
`vagrantup.com` for more information on using Vagrant.
|
34
|
+
kei-no-MacBook-Air:pacificmall kei$ ls
|
35
|
+
Vagrantfile
|
36
|
+
kei-no-MacBook-Air:pacificmall kei$ vagrant up
|
37
|
+
Bringing machine 'default' up with 'virtualbox' provider...
|
38
|
+
==> default: Importing base box 'prime-strategy/kusanagi-wp5'...
|
39
|
+
==> default: Matching MAC address for NAT networking...
|
40
|
+
==> default: Checking if box 'prime-strategy/kusanagi-wp5' version '1.0' is up to date...
|
41
|
+
==> default: Setting the name of the VM: pacificmall_default_1636709061685_47836
|
42
|
+
==> default: Clearing any previously set network interfaces...
|
43
|
+
The IP address configured for the host-only network is not within the
|
44
|
+
allowed ranges. Please update the address used to be within the allowed
|
45
|
+
ranges and run the command again.
|
46
|
+
|
47
|
+
Address: 192.168.33.10
|
48
|
+
Ranges: 192.168.56.0/21
|
49
|
+
|
50
|
+
Valid ranges can be modified in the /etc/vbox/networks.conf file. For
|
51
|
+
more information including valid format see:
|
52
|
+
|
53
|
+
https://www.virtualbox.org/manual/ch06.html#network_hostonly
|
54
|
+
kei-no-MacBook-Air:pacificmall kei$ vagrant status
|
55
|
+
Current machine states:
|
56
|
+
|
57
|
+
default poweroff (virtualbox)
|
58
|
+
|
59
|
+
The VM is powered off. To restart the VM, simply run `vagrant up`
|
60
|
+
kei-no-MacBook-Air:pacificmall kei$
|
61
|
+
```
|
1
内容の追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
開発環境の準備で、
|
2
|
+
ワードプレスでサイトを作成するつもりです。
|
3
|
+
|
1
4
|
仮想マシンの環境設定を行おうとすると、エラーが出てきます。
|
2
5
|
エラーの、英文を日本語に直すと、
|
3
6
|
|