sudo yum install nfs-utils.x86_64
/etc/hosts.allow, /etc/hosts.deny, /etc/exports の設定をしてnfsを上げてみる。
if ($request_uri = /) { | |
set $test A; | |
} | |
if ($host ~* teambox.com) { | |
set $test "${test}B"; | |
} | |
if ($http_cookie !~* "auth_token") { | |
set $test "${test}C"; |
// start profiling | |
xhprof_enable(); | |
// ここからWPのコード | |
/** | |
* Tells WordPress to load the WordPress theme and output it. | |
* | |
* @var bool | |
*/ | |
define('WP_USE_THEMES', true); |
curl -s https://api.github.com/orgs/twitter/repos?per_page=200 | ruby -rubygems -e 'require "json"; JSON.load(STDIN.read).each { |repo| %x[git clone #{repo["ssh_url"]} ]}' |
■ そもそも何をチェックするのか? | |
分散データベースをベンチマークするチェックリスト - sunsuk7tpのメモメモ | |
http://d.hatena.ne.jp/sunsuk7tp/20111101/1320159385 | |
■ ツール | |
[YCSB - Yahoo! Cloud Serving Benchmark] | |
http://research.yahoo.com/Web_Information_Management/YCSB/ | |
原著者: | Adrian Holovaty |
---|---|
原文: | Why I left Heroku, and notes on my new AWS setup |
金曜日、私は Heroku から Amazon Web Services(AWS) を直接使うように Soundslice を移行しました。私はこの変更ができてとても、そうとても嬉しくて、私がどうやったかということと、もし皆さんが同じような立場だったら何故それを検討すべきかということについて広く伝えたいと思います。
#Wordpress構築チートシート | |
#元ネタ:https://gist.github.com/ysaotome/2235302 | |
#対決相手:http://tily.github.io/jtf2013/ | |
############################################### | |
# 環境変数を定義 WEB/APPサーバおよびDBサーバの双方で実行 | |
############################################### | |
## MySQL管理ユーザのパスワード | |
export MYSQL_ROOT_PASS='mysql##123' | |
## Wordpressデータベース名 |
<html> | |
<head> | |
<style type="text/css"> | |
table table { | |
width: 600px !important; | |
} | |
table div + div { /* main content */ | |
width: 65%; | |
float: left; | |
} |
/usr/share/elasticsearch/bin/以下(※Ver1.3.2で確認)
https://github.com/elasticsearch/elasticsearch-river-wikipedia
※ElasticSearchのバージョンによってインストールするバージョンが異なるため注意