Ubuntuセットアップの履歴

時代はUbuntuらしい

PHP & MySQL & 開発環境

sudo apt-get install apache2 php5 php5-gd php5-cli mysql-server libmysqlclient-dev php5-mysql vim git-core screen

Ruby

echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function' >> ~/.bash_profile
source ~/.bash_profile
rvm requirements
sudo apt-get install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion
rvm install ruby-1.9.2
rvm use 1.9.2

Mecab

sudo apt-get install mecab libmecab-dev mecab-ipadic
/usr/lib/mecab/mecab-dict-index -d /usr/share/mecab/dic/ipadic -o /var/lib/mecab/dic/ipadic -f euc-jp -t utf-8 -p


http://d.hatena.ne.jp/hiratake55/20091031/1257007502

wget http://mecab.googlecode.com/files/mecab-ruby-0.992.tar.gz
tar zxfv mecab-ruby-0.992.tar.gz
cd mecab-ruby-0.992
ruby extconf.rb
make
sudo make install

Redis

sudo apt-get install redis-server