以下のAMIをインストールしたところから。 AMI:amzn-ami-minimal-pv-2014.03.2.x86_64-ebs (ami-63dc9262) ※Micro Instance または、EBS 2G にしているとRubyインストール時に足りなくなるので余裕を持たせること。 →この環境構築時は、m1.midium と 4G で構築。 #時刻を日本時間へ ======================================== sudo cp /usr/share/zoneinfo/Japan /etc/localtime #まずはOS更新 ======================================== sudo yum -y update #MySQL(5.6)のインストール ====================================
インスタンスが立ち上がったらSSHでサーバーにログインし、パッケージをインストールしていきます。SSHでログインするにはMacなら標準で搭載のターミナル、WindowsならTeraTermのようなフリーソフトを利用します。 まずはサーバーへ接続しましょう ssh -i (鍵のパス) ec2-user@(Public DNS) 鍵のパスは、KeyPairsを作成した際に保存した***.pemというファイルです。それが保存されている場所を指定します。 ec2-userはユーザーIDで、AWSにてSSH接続する際は大体このIDで接続します。 Public DNSはインスタンスを立ち上げた際に割り当てられる言わばURLに当たります。 もし接続した際に下記のようなエラーが出た場合は鍵のパーミッションを変更しないと行けません。 chmod 600 (鍵のパス) 接続できたらsuを利用してroot権限に
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く