お世話になります。
ドットインストールにてローカル開発環境の構築 [MacOS X編] をやっていましたがうまくいかず、VirtualBoxやVagrantの再インストールからやり直しているのですが…
#04 VagrantでCentOSを立ち上げよう のところで、
vagrant up
とターミナルに打ち込むと、
lang
1Bringing machine 'default' up with 'virtualbox' provider... 2==> default: Importing base box 'bento/centos-6.7'... 3==> default: Matching MAC address for NAT networking... 4==> default: Checking if box 'bento/centos-6.7' is up to date... 5==> default: Setting the name of the VM: mycentos_default_1464369829352_34985 6==> default: Clearing any previously set network interfaces... 7==> default: Preparing network interfaces based on configuration... 8 default: Adapter 1: nat 9 default: Adapter 2: hostonly 10==> default: Forwarding ports... 11 default: 22 (guest) => 2222 (host) (adapter 1) 12==> default: Booting VM... 13==> default: Waiting for machine to boot. This may take a few minutes... 14 default: SSH address: 127.0.0.1:2222 15 default: SSH username: vagrant 16 default: SSH auth method: private key 17 default: Warning: Remote connection disconnect. Retrying... 18 default: Warning: Remote connection disconnect. Retrying... 19 default: Warning: Remote connection disconnect. Retrying... 20 default: 21 default: Vagrant insecure key detected. Vagrant will automatically replace 22 default: this with a newly generated keypair for better security. 23 default: 24 default: Inserting generated public key within guest... 25 default: Removing insecure key from the guest if it's present... 26 default: Key inserted! Disconnecting and reconnecting using new SSH key... 27==> default: Machine booted and ready! 28==> default: Checking for guest additions in VM... 29==> default: Configuring and enabling network interfaces... 30==> default: Mounting shared folders... 31 default: /vagrant => /Users/username/MyVagrant/mycentos
という表示が出るのですが、これってうまくできているのでしょうか?
やり直す前も、
default: Warning: Remote connection disconnect. Retrying...
が何回も出てきて結局sshできない、ということが何度かありました。
いろいろ心当たりがあるのですが、
・やり直す前にfinderでそれらしきファイルを適当に削除してしまったこと
・しかも消す前にvagrant halt
をし忘れたこと
などがいけなかったのでしょうか?バカなことをしたととても後悔しています…
ちなみに、この後vagrant ssh
したらちゃんと繋がりました。
ただ、レッスン通りに進めるとこの後vagrant suspend
してターミナルを終了させてもう一度vagrant up
するのですが、上記のようなdefault: Warning:…がずっと出てきて先に進みません。
HTMLやCSSができる程度の初心者でまったく見当もつきませんので、どうかご教示のほどよろしくお願いいたします。
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
退会済みユーザー
2016/05/27 18:01
退会済みユーザー
2016/05/27 18:10
2016/05/27 18:13
2016/05/27 18:22
退会済みユーザー
2016/05/27 18:23
退会済みユーザー
2016/05/27 18:24
2016/05/27 18:37
退会済みユーザー
2016/05/28 07:08