-
-
Save Frobitz/1056203 to your computer and use it in GitHub Desktop.
Snow Leopard, Homebrew, Git, RVM, Ruby, Rails, Passenger, Apache, MySQL, Memcached and ImageMagick
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 2011-06-30 | |
# | |
# Mac OS X 10.6.8 | |
# Homebrew 0.8 | |
# Xcode 4.0.2 | |
# Git 1.7.6 | |
# RVM 1.6.20 | |
# Ruby 1.9.2 | |
# Rails 3.0.9 | |
# Passenger 3.0.7 | |
# MySQL 5.5.13 | |
# Memcached 1.4.5 | |
# ImageMagick 6.6.9-4 | |
# Install Snow Leopard. | |
# Dotfiles | |
echo "$(curl -fsS http://gist.github.com/raw/606100/.profile)" > ~/.profile | |
echo "$(curl -fsS http://gist.github.com/raw/606087/.bashrc)" > ~/.bashrc | |
echo "$(curl -fsS http://gist.github.com/raw/606102/.bash_profile)" > ~/.bash_profile | |
echo "$(curl -fsS http://gist.github.com/raw/606107/.gitignore)" > ~/.gitignore | |
echo "$(curl -fsS http://gist.github.com/raw/606105/.rvmrc)" > ~/.rvmrc | |
# Close Terminal window. | |
# Homebrew | |
ruby -e "$(curl -fsS http://gist.github.com/raw/323731/install_homebrew.rb)" | |
# Xcode | |
# Download Xcode from developer.apple.com or install from DVD | |
# Software Update | |
# You'll have to do it a few times to get back up to speed. | |
# Git | |
brew install git | |
brew update | |
brew upgrade | |
# RVM | |
bash < <(curl -s https://rvm.beginrescueend.com/install/rvm) | |
rvm install 1.9.2 | |
rvm 1.9.2 --default | |
# Rails | |
gem install rails | |
# Passenger | |
gem install passenger | |
passenger-install-apache2-module | |
# Follow instructions to modify /etc/apache2/httpd.conf | |
sudo apachectl restart | |
# MySQL | |
brew install mysql | |
mysql_install_db | |
cp /usr/local/Cellar/mysql/5.5.13/com.mysql.mysqld.plist ~/Library/LaunchAgents | |
mysql.server start | |
mysql_secure_installation | |
# Follow instructions. | |
# Memcached | |
brew install memcached | |
cp /usr/local/Cellar/memcached/1.4.5/com.danga.memcached.plist ~/Library/LaunchAgents | |
# ImageMagick | |
brew install imagemagick | |
# Reboot. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment