AWS

wordpress環境構築でやったこと(初級編)

パッケージ $ yum install httpd $ yum install php55 $ yum install php55-mysql $ yum install php55-mysqlndあと、httpd.confで ServerName localhost 追加(これ書かないと、restartかけるたび、警告でるです。) 次にRDS。最近VPCが必須になっていて、 …

s3へのコピーを一瞬で終わらせる方法

ローカルからS3 $ aws s3 sync <LocalPath> <S3Path>s3からローカル $ aws s3 sync <S3Path> <LocalPath>s3からs3 $ aws s3 sync <S3Path> <S3Path>今回3番目をやったんですが、約3500件が1分以内に完了しました。鼻血ぶーーーーーーーtwitterサイズでごめんなさい 参考 http://docs.aws.amazon.com/cli/latest/ref</s3path></s3path></localpath></s3path></s3path></localpath>…

ec2にphpGOGO!

前回に続き、phpネタです・AmazonLinuxでphp5.5系いれたい!php55をいれると、macと違って、mongo.soがデフォってた。[Path] /usr/lib64/php/5.5/modules/ しかし、mysqlがなひ。やったこと。 1. $ yum install mysql 2. $ yum install php55-pdo dep1. $ yu…