質問編集履歴

3

失礼しました。こちらになります。

2017/10/16 07:21

投稿

roppy22
roppy22

スコア12

test CHANGED
File without changes
test CHANGED
@@ -50,6 +50,8 @@
50
50
 
51
51
  追記です。vagrantfileは
52
52
 
53
+ ```ここに言語を入力
54
+
53
55
  # -*- mode: ruby -*-
54
56
 
55
57
  # vi: set ft=ruby :
@@ -192,4 +194,8 @@
192
194
 
193
195
 
194
196
 
197
+ ```
198
+
199
+
200
+
195
201
  です。

2

大変失礼いたしました。vagrantfileを記載しました。よろしくお願いいたします。

2017/10/16 07:21

投稿

roppy22
roppy22

スコア12

test CHANGED
File without changes
test CHANGED
@@ -50,95 +50,145 @@
50
50
 
51
51
  追記です。vagrantfileは
52
52
 
53
- ```ここに言語を入力
53
+ # -*- mode: ruby -*-
54
54
 
55
- This is the README file for the PuTTY MSI installer distribution. If
56
-
57
- you're reading this, you've probably just run our installer and
58
-
59
- installed PuTTY on your system.
55
+ # vi: set ft=ruby :
60
56
 
61
57
 
62
58
 
63
- What should I do next?
59
+ # All Vagrant configuration is done below. The "2" in Vagrant.configure
64
60
 
61
+ # configures the configuration version (we support older styles for
62
+
63
+ # backwards compatibility). Please don't change it unless you know what
64
+
65
- ----------------------
65
+ # you're doing.
66
+
67
+ Vagrant.configure("2") do |config|
68
+
69
+ # The most common configuration options are documented and commented below.
70
+
71
+ # For a complete reference, please see the online documentation at
72
+
73
+ # https://docs.vagrantup.com.
66
74
 
67
75
 
68
76
 
69
- If you want to use PuTTY to connect to other computers, or use PSFTP
77
+ # Every Vagrant development environment requires a box. You can search for
70
78
 
71
- to transfer files, you should just be able to run them from the
79
+ # boxes at https://vagrantcloud.com/search.
72
80
 
73
- Start menu.
81
+ config.vm.box = "bento/centos-6.8"
74
82
 
75
83
 
76
84
 
77
- If you want to use the command-line file transfer utility PSCP, you
85
+ # Disable automatic box update checking. If you disable this, then
78
86
 
79
- will need to run this from a Command Prompt or equivalent, because it
87
+ # boxes will only be checked for updates when the user runs
80
88
 
81
- will not do anything useful without command-line options telling it
89
+ # `vagrant box outdated`. This is not recommended.
82
90
 
83
- what files to copy to and from where. You can do this by just running
84
-
85
- the command 'pscp' from a Command Prompt, if you used the installer's
86
-
87
- option to put the PuTTY installation directory on your PATH.
88
-
89
- Alternatively, you can always run pscp.exe by its full pathname, e.g.
90
-
91
- "C:\Program Files\PuTTY\pscp.exe".
91
+ # config.vm.box_check_update = false
92
92
 
93
93
 
94
94
 
95
- (Note that a Command Prompt that was already open before you ran the
95
+ # Create a forwarded port mapping which allows access to a specific port
96
96
 
97
+ # within the machine from a port on the host machine. In the example below,
98
+
99
+ # accessing "localhost:8080" will access port 80 on the guest machine.
100
+
97
- installer will not have inherited the update of PATH.)
101
+ # NOTE: This will enable public access to the opened port
102
+
103
+ # config.vm.network "forwarded_port", guest: 80, host: 8080
98
104
 
99
105
 
100
106
 
101
- Some versions of Windows will refuse to run HTML Help files (.CHM)
107
+ # Create a forwarded port mapping which allows access to a specific port
102
108
 
103
- if they are installed on a network drive. If you have installed
109
+ # within the machine from a port on the host machine and only allow access
104
110
 
105
- PuTTY on a network drive, you might want to check that the help file
111
+ # via 127.0.0.1 to disable public access
106
112
 
107
- works properly. If not, see http://support.microsoft.com/kb/896054
113
+ # config.vm.network "forwarded_port", guest: 80, host: 8080, host_ip: "127.0.0.1"
108
-
109
- for information on how to solve this problem.
110
114
 
111
115
 
112
116
 
113
- What do I do if it doesn't work?
117
+ # Create a private network, which allows host-only access to the machine
114
118
 
115
- --------------------------------
119
+ # using a specific IP.
120
+
121
+ config.vm.network "private_network", ip: "192.168.33.10"
116
122
 
117
123
 
118
124
 
125
+ # Create a public network, which generally matched to bridged network.
126
+
127
+ # Bridged networks make the machine appear as another physical device on
128
+
119
- The PuTTY home web site is
129
+ # your network.
130
+
131
+ # config.vm.network "public_network"
120
132
 
121
133
 
122
134
 
135
+ # Share an additional folder to the guest VM. The first argument is
136
+
137
+ # the path on the host to the actual folder. The second argument is
138
+
139
+ # the path on the guest to mount the folder. And the optional third
140
+
141
+ # argument is a set of non-required options.
142
+
123
- https://www.chiark.greenend.org.uk/~sgtatham/putty/
143
+ # config.vm.synced_folder "../data", "/vagrant_data"
124
144
 
125
145
 
126
146
 
127
- Here you will find our list of known bugs and pending feature
147
+ # Provider-specific configuration so you can fine-tune various
128
148
 
129
- requests. If your problem is not listed in there, or in the FAQ, or
149
+ # backing providers for Vagrant. These expose provider-specific options.
130
150
 
131
- in the manuals, read the Feedback page to find out how to report
151
+ # Example for VirtualBox:
132
152
 
133
- bugs to us. PLEASE read the Feedback page carefully: it is there to
153
+ #
134
154
 
135
- save you time as well as us. Do not send us one-line bug reports
155
+ # config.vm.provider "virtualbox" do |vb|
136
156
 
157
+ # # Display the VirtualBox GUI when booting the machine
158
+
159
+ # vb.gui = true
160
+
161
+ #
162
+
163
+ # # Customize the amount of memory on the VM:
164
+
165
+ # vb.memory = "1024"
166
+
167
+ # end
168
+
169
+ #
170
+
171
+ # View the documentation for the provider you are using for more
172
+
137
- telling us `it doesn't work'.
173
+ # information on available options.
138
174
 
139
175
 
140
176
 
177
+ # Enable provisioning with a shell script. Additional provisioners such as
178
+
179
+ # Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the
180
+
181
+ # documentation for more information about their specific syntax and use.
182
+
183
+ # config.vm.provision "shell", inline: <<-SHELL
184
+
185
+ # apt-get update
186
+
187
+ # apt-get install -y apache2
188
+
189
+ # SHELL
190
+
141
- ```
191
+ end
142
192
 
143
193
 
144
194
 

1

vagrantfileについて記載しました。よろしくお願いします。

2017/10/16 07:19

投稿

roppy22
roppy22

スコア12

test CHANGED
File without changes
test CHANGED
@@ -45,3 +45,101 @@
45
45
 
46
46
 
47
47
  どなたか教えていただけないでしょうか。
48
+
49
+
50
+
51
+ 追記です。vagrantfileは
52
+
53
+ ```ここに言語を入力
54
+
55
+ This is the README file for the PuTTY MSI installer distribution. If
56
+
57
+ you're reading this, you've probably just run our installer and
58
+
59
+ installed PuTTY on your system.
60
+
61
+
62
+
63
+ What should I do next?
64
+
65
+ ----------------------
66
+
67
+
68
+
69
+ If you want to use PuTTY to connect to other computers, or use PSFTP
70
+
71
+ to transfer files, you should just be able to run them from the
72
+
73
+ Start menu.
74
+
75
+
76
+
77
+ If you want to use the command-line file transfer utility PSCP, you
78
+
79
+ will need to run this from a Command Prompt or equivalent, because it
80
+
81
+ will not do anything useful without command-line options telling it
82
+
83
+ what files to copy to and from where. You can do this by just running
84
+
85
+ the command 'pscp' from a Command Prompt, if you used the installer's
86
+
87
+ option to put the PuTTY installation directory on your PATH.
88
+
89
+ Alternatively, you can always run pscp.exe by its full pathname, e.g.
90
+
91
+ "C:\Program Files\PuTTY\pscp.exe".
92
+
93
+
94
+
95
+ (Note that a Command Prompt that was already open before you ran the
96
+
97
+ installer will not have inherited the update of PATH.)
98
+
99
+
100
+
101
+ Some versions of Windows will refuse to run HTML Help files (.CHM)
102
+
103
+ if they are installed on a network drive. If you have installed
104
+
105
+ PuTTY on a network drive, you might want to check that the help file
106
+
107
+ works properly. If not, see http://support.microsoft.com/kb/896054
108
+
109
+ for information on how to solve this problem.
110
+
111
+
112
+
113
+ What do I do if it doesn't work?
114
+
115
+ --------------------------------
116
+
117
+
118
+
119
+ The PuTTY home web site is
120
+
121
+
122
+
123
+ https://www.chiark.greenend.org.uk/~sgtatham/putty/
124
+
125
+
126
+
127
+ Here you will find our list of known bugs and pending feature
128
+
129
+ requests. If your problem is not listed in there, or in the FAQ, or
130
+
131
+ in the manuals, read the Feedback page to find out how to report
132
+
133
+ bugs to us. PLEASE read the Feedback page carefully: it is there to
134
+
135
+ save you time as well as us. Do not send us one-line bug reports
136
+
137
+ telling us `it doesn't work'.
138
+
139
+
140
+
141
+ ```
142
+
143
+
144
+
145
+ です。