Puphpet: vagrant up μ‹œ RVM μΈμ¦μ„œ 였λ₯˜

에 λ§Œλ“  2016λ…„ 04μ›” 05일  Β·  7μ½”λ©˜νŠΈ  Β·  좜처: puphpet/puphpet

λ°©λž‘μž ν”„λ‘œλΉ„μ €λ‹μ„ μ‹€ν–‰ν•˜λ©΄ λ‹€μŒ 였λ₯˜κ°€ λ°œμƒν•©λ‹ˆλ‹€.

=> local.dev: Notice: /Stage[main]/Apache::Service/Service[httpd]/ensure: ensure changed 'stopped' to 'running' ==> local.dev: Info: /Stage[main]/Apache::Service/Service[httpd]: Unscheduling refresh on Service[httpd] ==> local.dev: Notice: /Stage[main]/Puphpet_apache/Exec[Set /var/www/html/index.html contents]/returns: executed successfully ==> local.dev: Notice: /Stage[main]/Puphpet_mysql/Mysql_database[opal]/ensure: created ==> local.dev: Notice: /Stage[main]/Puphpet_ruby/Puphpet::Ruby::Install[rv_07nkqjdg45pi]/Rvm_system_ruby[1.9.3]/ensure: created ==> local.dev: Error: Execution of '/usr/local/rvm/bin/rvm 1.9.3 do gem install --no-rdoc --no-ri deep_merge' returned 1: ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) ==> local.dev: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://your-dns-needs-immediate-attention.dev/quick/Marshal.4.8/deep_merge-1.0.1.gemspec.rz) ==> local.dev: Error: /Stage[main]/Puphpet_ruby/Puphpet::Ruby::Install[rv_07nkqjdg45pi]/Rvm_gem[deep_merge]/ensure: change from absent to present failed: Execution of '/usr/local/rvm/bin/rvm 1.9.3 do gem install --no-rdoc --no-ri deep_merge' returned 1: ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) ==> local.dev: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://your-dns-needs-immediate-attention.dev/quick/Marshal.4.8/deep_merge-1.0.1.gemspec.rz) ==> local.dev: Error: Execution of '/usr/local/rvm/bin/rvm 1.9.3 do gem install --no-rdoc --no-ri activesupport' returned 1: ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) ==> local.dev: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://your-dns-needs-immediate-attention.dev/quick/Marshal.4.8/activesupport-4.2.6.gemspec.rz) ==> local.dev: Error: /Stage[main]/Puphpet_ruby/Puphpet::Ruby::Install[rv_07nkqjdg45pi]/Rvm_gem[activesupport]/ensure: change from absent to present failed: Execution of '/usr/local/rvm/bin/rvm 1.9.3 do gem install --no-rdoc --no-ri activesupport' returned 1: ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) ==> local.dev: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://your-dns-needs-immediate-attention.dev/quick/Marshal.4.8/activesupport-4.2.6.gemspec.rz) ==> local.dev: Error: Execution of '/usr/local/rvm/bin/rvm 1.9.3 do gem install --no-rdoc --no-ri vine' returned 1: ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) ==> local.dev: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://your-dns-needs-immediate-attention.dev/quick/Marshal.4.8/vine-0.2.gemspec.rz) ==> local.dev: Error: /Stage[main]/Puphpet_ruby/Puphpet::Ruby::Install[rv_07nkqjdg45pi]/Rvm_gem[vine]/ensure: change from absent to present failed: Execution of '/usr/local/rvm/bin/rvm 1.9.3 do gem install --no-rdoc --no-ri vine' returned 1: ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) ==> local.dev: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://your-dns-needs-immediate-attention.dev/quick/Marshal.4.8/vine-0.2.gemspec.rz) ==> local.dev: Info: Puphpet::Ruby::Install[rv_07nkqjdg45pi]: Unscheduling all events on Puphpet::Ruby::Install[rv_07nkqjdg45pi]

λ‚œ λ…Έλ ₯ ν–ˆμ–΄:

  • natdnshostresolver1 ν™œμ„±ν™”: μ‚¬μ‹€μ΄μ§€λ§Œ 아무 μ†Œμš©μ΄ μ—†μŠ΅λ‹ˆλ‹€.
  • config.ymlμ—μ„œ rubyλ₯Ό 2.0.3으둜 μ—…κ·Έλ ˆμ΄λ“œν•˜λ €κ³  μ‹œλ„ν–ˆμ§€λ§Œ 아무 것도 μ—†μ—ˆμŠ΅λ‹ˆλ‹€. 둜컬 DNSλ₯Ό λ³€κ²½ν•˜κ³  κΈ°μˆ μžμ™€λ„ μ΄μ•ΌκΈ°ν–ˆμ§€λ§Œ 아무도 ν•΄κ²°ν•˜μ§€ λͺ»ν•˜λŠ” 것 κ°™μŠ΅λ‹ˆλ‹€. 이것은 λͺ¨λ‘ μΈν˜• μ‚¬μ΄νŠΈμ—μ„œ μ§μ ‘μž…λ‹ˆλ‹€. λ‚˜λŠ” 길을 μžƒμ—ˆμŠ΅λ‹ˆλ‹€. μ–΄μ œ λ‹€μ‹œ μ„€μΉ˜ ν•œ ν›„ μž‘λ™ν–ˆμŠ΅λ‹ˆλ‹€. μ˜€λŠ˜μ€ κ·Έλ ‡κ²Œ λ§Žμ§€ μ•ŠμŠ΅λ‹ˆλ‹€.

κ°€μž₯ μœ μš©ν•œ λŒ“κΈ€

λ‚˜λŠ” ν–ˆλ‹€:

  • λ°©λž‘μž
  • λ°©λž‘μž SSH
  • sudo apt-get μ—…λ°μ΄νŠΈ 및 sudo apt-get μ—…κ·Έλ ˆμ΄λ“œ
  • λ°©λž‘μž 파괴
  • λ°©λž‘μž

λ‚΄ rvm 였λ₯˜λ₯Ό μˆ˜μ •ν–ˆμŠ΅λ‹ˆλ‹€. ν‚€κ°€ 였래된 것 κ°™μŠ΅λ‹ˆλ‹€.

λͺ¨λ“  7 λŒ“κΈ€

λ™μΌν•œ λ¬Έμ œκ°€ 여기에 μžˆμŠ΅λ‹ˆλ‹€. μ–΄μ œ μƒˆ VM을 κ΅¬μΆ•ν•˜κ³  문제 없이 μ—¬λŸ¬ ν”„λ‘œλΉ„μ €λ‹μ„ μˆ˜ν–‰ν–ˆμŠ΅λ‹ˆλ‹€. 였늘 ν”„λ‘œλΉ„μ €λ‹μ΄ λ‹€μŒ 였λ₯˜μ™€ ν•¨κ»˜ μ‹€νŒ¨ν•©λ‹ˆλ‹€.

==> project: ERROR:  Could not find a valid gem 'deep_merge' (>= 0), here is why:
==> project:           Unable to download data from https://rubygems.org/ - no such name (https://rubygems.org/latest_specs.4.8.gz)
==> project: ERROR:  Could not find a valid gem 'activesupport' (>= 0), here is why:
==> project:           Unable to download data from https://rubygems.org/ - no such name (https://rubygems.org/latest_specs.4.8.gz)
==> project: ERROR:  Could not find a valid gem 'vine' (>= 0), here is why:
==> project:           Unable to download data from https://rubygems.org/ - no such name (https://rubygems.org/latest_specs.4.8.gz)

λ‚˜λŠ” ν–ˆλ‹€:

  • λ°©λž‘μž
  • λ°©λž‘μž SSH
  • sudo apt-get μ—…λ°μ΄νŠΈ 및 sudo apt-get μ—…κ·Έλ ˆμ΄λ“œ
  • λ°©λž‘μž 파괴
  • λ°©λž‘μž

λ‚΄ rvm 였λ₯˜λ₯Ό μˆ˜μ •ν–ˆμŠ΅λ‹ˆλ‹€. ν‚€κ°€ 였래된 것 κ°™μŠ΅λ‹ˆλ‹€.

@steros λ‚˜λ„ λ˜‘κ°™μ΄ ν–ˆλŠ”λ°, 여기에 κ²Œμ‹œν•˜λŠ” 것을 μžŠμ—ˆκ³  μ§€κΈˆμ€ 잘 μž‘λ™ν•©λ‹ˆλ‹€.

@steros μ €

확인, 잘 μž‘λ™ν•©λ‹ˆλ‹€. "vagrant destroy" 뢀뢄을 μ œμ™Έν•˜κ³ λŠ” ν•΄λ‹Ή 뢀뢄을 μƒλž΅ν•˜κ³  "vagrant up --provision"만 μˆ˜ν–‰ν–ˆμŠ΅λ‹ˆλ‹€.

동일: sudo apt-get update && sudo apt-get upgrade νŠΈλ¦­μ„ μˆ˜ν–‰ν–ˆμŠ΅λ‹ˆλ‹€!

μ™„λ²½ν•©λ‹ˆλ‹€. κ°μ‚¬ν•©λ‹ˆλ‹€. μ—…λ°μ΄νŠΈ ν›„ "vagrant up --provision"만 ν•˜λ©΄ λ©λ‹ˆλ‹€.

이 νŽ˜μ΄μ§€κ°€ 도움이 λ˜μ—ˆλ‚˜μš”?
0 / 5 - 0 λ“±κΈ‰