2011-09-01から1日間の記事一覧

nginx サブドメイン設定

blog用にサブドメインを設定。 . . # blog - wordpress server { listen 80; server_name frenzy.psychobil.ly; location / { root html/wordpress; index index.html index.htm index.php; deny 216.13.56.89; } location ~ \.php$ { root html/wordpress; …

route53 firefox addon

memo https://bitbucket.org/winebarrel/r53-fox/downloads よくわかるAmazonEC2/S3入門 ―AmazonWebServicesクラウド活用と実践 (Software Design plusシリーズ)作者: 藤崎正範,深海寛信,五十嵐学,馬場俊彰出版社/メーカー: 技術評論社発売日: 2010/06/11メ…

拡張リポジトリepel追加

install $ sudo rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm 参照 http://d.hatena.ne.jp/t2y-1979/20110430/1304140587 CentOS5で作るネットワークサーバ構築ガイド第2版 (Network Server Construction Gui…

glusterfsでコンテンツ同期

epelのglusterfsはバージョン2なのでソースコンパイルに変更する。 webサーバを複数台並べるとコンテンツの更新方法に悩む。 安直にNASを使うのは金があるところだけなので、glusterfsを試してみることにした。glusterfs http://www.gluster.org/ http://www…

nginx-mode

nginxのconfを弄るのが不便だったので探したらやっぱりあった nginx-mode設定 $ test -d ~/.emacs.d || mkdir ~/.emacs.d $ cd ~/.emacs.d $ git clone https://github.com/noxyu3m/nginx-mode.git $ git clone https://github.com/ajc/nginx-mode.git $ cat…

wordpress install

php

wordpressをインストールしておく。使わないかもしれないが。インストール $ sudo yum -y install php-mbstring $ curl http://ja.wordpress.org/wordpress-3.2.1-ja.zip -o wordpress-3.2.1-ja.zip $ unzip wordpress-3.2.1-ja.zip $ mv wordpress /usr/loc…

glusterfs3

気を取り直して、glusterfs3のインストールと設定をする。参考 http://www.insaneworks.co.jp/kota/glusterfs%E3%81%A7%E3%82%AF%E3%83%A9%E3%82%B9%E3%82%BFfs%E3%82%92%E4%BD%9C%E3%82%8B http://nkjmkzk.net/?p=1691 http://dai_yamashita.bitbucket.org/…