setting up my environment for research experiment
- setting up my environment for research experiment
- Ubuntu 12.04
- visudo
- modified /etc/apt/sources.list
- $ sudo aptitude update
- $ sudo aptitude upgrade -y
- $ sudo aptitide install emacs23-nox, install build-essential (, open-vm-tools)
Host github.com
User git
Port 22
Hostname github.com
IdentityFile /home/inohiro/.ssh/github/id_rsa
TCPKeepAlive yes
IdentitiesOnly yes
- install curl
- install oh-my-zsh (https://github.com/robbyrussell/oh-my-zsh/)
- clone dotfiles
install mysql-server-5.5
- use package
- make from source
- $ wget http://dev.mysql.com/get/Downloads/MySQL-5.5/mysql-5.5.28.tar.gz/from/http://mysql.llarian.net/
- $ mv index.html mysql-5.5.28.tar.gz
- $ decompose and move to dir
- cmake
- (see also: http://www.omakase.org/rdbms/mysql-5519_for_ubuntu.html)
development
- install rvm (http://rvm.io)
- $ curl -L https://get.rvm.io | bash -s stable --ruby
- $ echo ' -s "$HOME/.rvm/scripts/rvm" && . "$HOME/.rvm/scripts/rvm" # Load RVM function' # This loads RVM " >> .zshrc
- $ rvm pkg install openssl # it requires "$ aptitude install libopenssl-ruby"
- $ rvm pkg install readline
- $ rvm pkg install zlib
- $ rvm install 1.9.2
- $ rvm use 1.9.2 --default
- $ gem install bundler
- for install some gems
- $ sudo aptitude install libmysqlclient-dev, libxml2-dev, libxslt-dev
- install gems
- $ cd research
- $ bundle