質問編集履歴

3

現状のバージョンを再度確認し、問題点を最初の段落へ移動

2016/09/21 16:30

投稿

YuriIwasaki
YuriIwasaki

スコア7

test CHANGED
File without changes
test CHANGED
@@ -1,6 +1,6 @@
1
1
  ###CyberduckでSFTP接続をしたいけど何が問題なのか知りたい。ドットインストール「ローカル開発環境の構築[MacOS X編](全9回)」
2
2
 
3
- PHPのローカル開発環境を構築するため、ドットインストールの「ローカル開発環境の構築[MacOS X編](全9回)」のレッスンを進めていて、「#07 Cyberduckを導入しよう」の回でCyberduckを使ったSFTPサーバの接続に失敗している。
3
+ PHPのローカル開発環境を構築するため、ドットインストールの「ローカル開発環境の構築[MacOS X編](全9回)」のレッスンを進めていて、「#07 Cyberduckを導入しよう」の回でCyberduckを使ったSFTPサーバの接続に失敗している。Cyberduckを開き、「SFTPサーバ」を指定。sshで出てきた数字10.0.2.15をそのままサーバに入力、ポート「22」ユーザ名「vagrant」パスワード「vagrant」キーチェーンに追加にチェックを入れて接続し失敗。
4
4
 
5
5
  ###発生している問題・エラーメッセージ
6
6
 
@@ -240,57 +240,51 @@
240
240
 
241
241
 
242
242
 
243
+ ###動画を見てて気づいた点
244
+
245
+ 多分正常だと出てくるはずの
246
+
247
+ ```unix command
248
+
249
+ 3: eth1: <broadcast
250
+
251
+ ```
252
+
253
+ の項目が出てない、192.168.33.10はそこにあるはずなんだけど以下の状態のため、ない。
254
+
255
+ ```Unix command
256
+
257
+ [vagrant@localhost ~]$ ip a
258
+
259
+ 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
260
+
261
+ link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
262
+
263
+ inet 127.0.0.1/8 scope host lo
264
+
265
+ inet6 ::1/128 scope host
266
+
267
+ valid_lft forever preferred_lft forever
268
+
269
+ 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
270
+
271
+ link/ether 08:00:27:c3:63:c3 brd ff:ff:ff:ff:ff:ff
272
+
273
+ inet 10.0.2.15/24 brd 10.0.2.255 scope global eth0
274
+
275
+ inet6 fe80::a00:27ff:fec3:63c3/64 scope link
276
+
277
+ valid_lft forever preferred_lft forever
278
+
279
+
280
+
281
+ ```
282
+
283
+
284
+
243
285
  ###試したこと
244
286
 
245
- Cyberduckを開き、「SFTPサーバ」を指定。sshで出てきた数字10.0.2.15をそのままサーバに入力、ポート「22」ユーザ名「vagrant」パスワード「vagrant」キーチェーンに追加にチェックを入れて接続し失敗
246
-
247
-
248
-
249
- ###動画を見てて気づいた点
250
-
251
- 多分正常だと出てくるはずの
252
-
253
- ```unix command
254
-
255
- 3: eth1: <broadcast
256
-
257
- ```
258
-
259
- の項目が出てない、192.168.33.10はそこにあるはずなんだけど以下の状態のため、ない。
260
-
261
- ```Unix command
262
-
263
- [vagrant@localhost ~]$ ip a
264
-
265
- 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
266
-
267
- link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
268
-
269
- inet 127.0.0.1/8 scope host lo
270
-
271
- inet6 ::1/128 scope host
272
-
273
- valid_lft forever preferred_lft forever
274
-
275
- 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
276
-
277
- link/ether 08:00:27:c3:63:c3 brd ff:ff:ff:ff:ff:ff
278
-
279
- inet 10.0.2.15/24 brd 10.0.2.255 scope global eth0
280
-
281
- inet6 fe80::a00:27ff:fec3:63c3/64 scope link
282
-
283
- valid_lft forever preferred_lft forever
284
-
285
-
286
-
287
- ```
288
-
289
-
290
-
291
-
292
-
293
- なので、192.168.33.10をCyberduckのサーバに手入力で接続、やっぱり失敗。
287
+ 192.168.33.10をCyberduckのサーバに手入力で接続して失敗。
294
288
 
295
289
 
296
290
 
@@ -304,53 +298,7 @@
304
298
 
305
299
 
306
300
 
307
- # All Vagrant configuration is done below. The "2" in Vagrant.configure
301
+
308
-
309
- # configures the configuration version (we support older styles for
310
-
311
- # backwards compatibility). Please don't change it unless you know what
312
-
313
- # you're doing.
314
-
315
- Vagrant.configure("2") do |config|
316
-
317
- # The most common configuration options are documented and commented below.
318
-
319
- # For a complete reference, please see the online documentation at
320
-
321
- # https://docs.vagrantup.com.
322
-
323
-
324
-
325
- # Every Vagrant development environment requires a box. You can search for
326
-
327
- # boxes at https://atlas.hashicorp.com/search.
328
-
329
- config.vm.box = "bento/centos-6.7"
330
-
331
-
332
-
333
- # Disable automatic box update checking. If you disable this, then
334
-
335
- # boxes will only be checked for updates when the user runs
336
-
337
- # `vagrant box outdated`. This is not recommended.
338
-
339
- # config.vm.box_check_update = false
340
-
341
-
342
-
343
- # Create a forwarded port mapping which allows access to a specific port
344
-
345
- # within the machine from a port on the host machine. In the example below,
346
-
347
- # accessing "localhost:8080" will access port 80 on the guest machine.
348
-
349
- # config.vm.network "forwarded_port", guest: 80, host: 8080
350
-
351
-
352
-
353
- # Create a private network, which allows host-only access to the machine
354
302
 
355
303
  # using a specific IP.
356
304
 
@@ -370,4 +318,4 @@
370
318
 
371
319
  ###補足情報(言語/FW/ツール等のバージョンなど)
372
320
 
373
- macOS X /VirtualBox 4.3.20 / Vagrant 1.7.1 / Cyberduck 4.6.1
321
+ macOS X /VirtualBox 5.0.18 / Vagrant 1.8.4 / Cyberduck 5.1.0

2

気づいた点追加

2016/09/21 16:30

投稿

YuriIwasaki
YuriIwasaki

スコア7

test CHANGED
File without changes
test CHANGED
@@ -244,14 +244,22 @@
244
244
 
245
245
  Cyberduckを開き、「SFTPサーバ」を指定。sshで出てきた数字10.0.2.15をそのままサーバに入力、ポート「22」ユーザ名「vagrant」パスワード「vagrant」キーチェーンに追加にチェックを入れて接続し失敗
246
246
 
247
+
248
+
249
+ ###動画を見てて気づいた点
250
+
251
+ 多分正常だと出てくるはずの
252
+
253
+ ```unix command
254
+
255
+ 3: eth1: <broadcast
256
+
257
+ ```
258
+
259
+ の項目が出てない、192.168.33.10はそこにあるはずなんだけど以下の状態のため、ない。
260
+
247
261
  ```Unix command
248
262
 
249
- mymbp:mycentos $ vagrant ssh
250
-
251
- vagrant@127.0.0.1's password:
252
-
253
- Last login: Sat Sep 17 17:56:00 2016 from 10.0.2.2
254
-
255
263
  [vagrant@localhost ~]$ ip a
256
264
 
257
265
  1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
@@ -280,7 +288,9 @@
280
288
 
281
289
 
282
290
 
291
+
292
+
283
- 192.168.33.10をCyberduckのサーバに手入力で接続失敗。
293
+ なので、192.168.33.10をCyberduckのサーバに手入力で接続、やっぱり失敗。
284
294
 
285
295
 
286
296
 

1

関係なさそうな記述をカット

2016/09/17 15:16

投稿

YuriIwasaki
YuriIwasaki

スコア7

test CHANGED
@@ -1 +1 @@
1
- CyberduckでSFTP接続をしたい。ドットインストール「ローカル開発環境の構築[MacOS X編](全9回)」
1
+ CyberduckでSFTP接続をしたいけど何が問題なのか知りたい。ドットインストール「ローカル開発環境の構築[MacOS X編](全9回)」
test CHANGED
@@ -1,4 +1,4 @@
1
- ###CyberduckでSFTP接続をしたい。ドットインストール「ローカル開発環境の構築[MacOS X編](全9回)」
1
+ ###CyberduckでSFTP接続をしたいけど何が問題なのか知りたい。ドットインストール「ローカル開発環境の構築[MacOS X編](全9回)」
2
2
 
3
3
  PHPのローカル開発環境を構築するため、ドットインストールの「ローカル開発環境の構築[MacOS X編](全9回)」のレッスンを進めていて、「#07 Cyberduckを導入しよう」の回でCyberduckを使ったSFTPサーバの接続に失敗している。
4
4
 
@@ -114,30 +114,6 @@
114
114
 
115
115
  Last login: Sat Sep 17 16:17:31 2016 from 10.0.2.2
116
116
 
117
- [vagrant@localhost ~]$ php -v
118
-
119
- PHP 5.6.26 (cli) (built: Sep 15 2016 14:57:05)
120
-
121
- Copyright (c) 1997-2016 The PHP Group
122
-
123
- Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
124
-
125
- [vagrant@localhost ~]$ mysql --version
126
-
127
- mysql Ver 14.14 Distrib 5.5.52, for Linux (x86_64) using readline 5.1
128
-
129
- [vagrant@localhost ~]$ python --version
130
-
131
- Python 2.6.6
132
-
133
- [vagrant@localhost ~]$ ruby -v
134
-
135
- ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]
136
-
137
- [vagrant@localhost ~]$ sudo service httpd status
138
-
139
- httpd (pid 32375) を実行中...
140
-
141
117
  [vagrant@localhost ~]$ ip a
142
118
 
143
119
  1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN