VPCにアサインされたEC2インスタンスへ
Network Interfaceを追加し、外部からVPC内のインスタンスへ接続できるようにする。
画像がないのでわかりづらいけど自分用メモということで。
| # Preparation: assume rbenv and ruby-build is already installed. | |
| curl https://raw.github.com/hsbt/ruby-build/3c94f7f696d51d96223ce64d3760d25d3b6a0b68/share/ruby-build/2.0.0-p0 -o ~/.rbenv/plugins/ruby-build/share/ruby-build/2.0.0-p0 | |
| rbenv install 2.0.0-p0 | |
| rbenv local 2.0.0-p0 | |
| rbenv rehash | |
| # bundler must be 1.3.x for 2.0.0 | |
| gem install bundler --version 1.3.0.pre.8 | |
| # http://railsapps.github.com/openssl-certificate-verify-failed.html | |
| wget http://curl.haxx.se/ca/cacert.pem -O /usr/local/etc/openssl/certs/cert.pem | |
| export SSL_CERT_FILE=/usr/local/etc/openssl/certs/cert.pem |
| require 'RMagick' | |
| require 'capybara' | |
| require 'launchy' | |
| module Capybara::Recording | |
| def start_recording | |
| system "rm -f tmp/*" | |
| end | |
| def save_recording |
| #!/usr/bin/python | |
| from __future__ import print_function | |
| import os | |
| import pwd | |
| import socket | |
| import sys | |
| やわらかRubyはCC BY 4.0 で提供します。 | |
| 詳細: https://creativecommons.org/licenses/by/4.0/deed.ja | |
| This work is licensed under a Creative Commons Attribution 4.0 International License. | |
| See also: https://creativecommons.org/licenses/by/4.0/deed |