Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# sudo パスワード設定
sudo passwd
# vim 設定
sudo yum -y install vim-enhanced
#vim ~/.vimrc
# git
sudo yum -y install git-core
git config --global user.name “u name"
git config --global user.email “test@test.jp"
git config --list
cd ~/.ssh
ssh-keygen -t rsa -C "test@test.jp"
# ruby by rvm
sudo yum install -y readline-devel openssl-devel
sudo bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
sudo -s
rvm install ruby-2.0.0-p353
# mysql
sudo yum install -y mysql-server mysql-devel
gem install mysql2
# imagemagick
sudo yum install -y ImageMagick-devel ImageMagick
# rails
sudo yum install -y gcc ruby-devel libxml2 libxml2-devel libxslt libxslt-devel
gem install rails -v 4.0.0
# passenger
sudo yum install -y gcc-c++ curl-devel httpd-devel apr-devel apr-util-devel
gem install passenger
passenger-install-apache2-module
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment