- Backup data to Time machine drive
- Backup some important data to HDD drive manually
- Make a list which directory should be copied into the new OS
- Need 8GB or more flash memory(USB2.0 is ok)
- Download Yosemite through AppStore
- Clicking
free upgrade
is ok - Do not click “continue" on the upgrade view after downloading.
- Clicking
- Format your USB drive
- Launch "Disk Utilit4y"
- Select USB Drive
- Format: "Mac OS Extended (Journaled)”, Title: Untitled
- Click "Erase"
- Run command (20 ~ 30 minutes)
sudo /Applications/Install\ OS\ X\ Yosemite.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Yosemite.app --nointeraction
- Shutdown PC
- Power on Mac with "option" button
- Select USB drive as a boot device
- Open disk utility and format your HD
- Select your main Drive(Macintosh HD?)
- Select “Erase” tab and format the disk with "Mac OS Extended (Journaled)"
- Close disk utility and continue installing Yosemite
- [System Preference] -> [Language & Region]
- Click [+]
- Select "日本語 Japanese"
- Click [Use English] as primary language
- [System Preference] -> [Keyboard]
- Select [Shortcuts] tab
- Select [Input Sources] menu
- Turn on "Select next source in Input menu"
- Change the shortcut to "alt + space"
- Select [Input Source] tab
- Turn off other than “Hiragana” on Input modes section
- Select [Keyboard] menu
- Click [Modifier Keys]
- Change "Caps Lock" to "^ Control" of Caps Lock key bind
- Select [Text] tab
- Turn off "Use smart quotes and dashes"
- [System Preference] -> [Trackpad]
- Point & Click
- Turn on "Tap to click" and "Lookup"
- Scroll & Zoom
- All ON
- More Gestures
- Swipe between pages with three fingers
- Swipe between full-screen apps with four fingers
- Notification Center
- Mission Control
- Apple Expose
- Launch pad
- Show Desktop
- [Finder] -> [Preferences]
- General
- Turn on “Hard Disk Drive” to show on Desktop
- New Finder windows show “${HOME}"
- Sidebar
- AirDrop
- Applications
- Desktop
- Documents
- Downloads
- $HOME
- Advanced
- Turn on “Show all filename extensions"
- When performing search: “Search the current folder"
Show hidden file(filename start with “.” 隠しファイル(ドットで始まるファイル名)を表示)
# Show hidden files
defaults write com.apple.finder AppleShowAllFiles -boolean true
killall Finder
# Rollback (Hide hidden files)
defaults delete com.apple.finder AppleShowAllFiles
killall Finder
- [View] -> “Show status bar"
- [View] -> “Show path bar"
- [System Preferences] -> [Dock]
- Turn on “Magnification"
- Position on screen: “Left'
- Turn on “Automatically hide and show the Dock"
# Change default location of screen shots
$ mkdir ~/Desktop/screenshot
$ defaults write com.apple.screencapture location !$
# Disable shadow
defaults write com.apple.screencapture disable-shadow -bool true
# Restart SystemUIServer
killall SystemUIServer
- Evernote
- Xcode
- iWork
- Pages
- Numbers
- Keynote
- Kindle For Mac
- Quick Note
- 3Hub
- Stufflt Expander
- Degrees
- Miniusage
- FormatMatch
- Pixelmator
- istat mini
-
Install Xcode from App Store
-
Install Xcode Developer Tool
- https://developer.apple.com/downloads/index.action
- Command Line Tools (OS X 10.10) for Xcode - Xcode 6.1
-
Install homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Check homebrew status
brew doctor
- Install brew command
brew install <application name>
- Install homebrew-file
brew tap rcmdnk/file
brew install brew-file
- Setup Brewfile repos and install packages
# Pull Brewfile from github repos
brew file set_repo -r mmasashi/Brewfile
# Edit Brewfile if needed
brew file edit
# Install all packages(including cask packages)
brew file update
- Update cask packages without backupping old pacakges
brew file cask_upgrade -C
- Editor
- iText edit
- Macrosoft Office for Mac
- VMWare Fusion
- Dropbox
- Launch & login
- cdto
- Open finder and go to "/opt/homebrew-cask/Caskroom/cd-to/2.6.0/cdto_2_6/iterm" path
- Hold "command" button and drag cdto icon to finder menu area
- iStat mini
- Open application and register on notification center
- FormatMatch
- Launch app and open preference
- Turn on "Automatically start FormatMatch at login"
- copy .ssh directory from backup
- Clone dotfiels and setup
cd $HOME
git clone https://github.com/mmasashi/dotfiles
cd dotfiles
bash setup.sh
git submodule update --init
- Install vim plugins
- Launch “vim”
- Run
:NeoBundleInstall
- Import “terminal” profile file
- General
- New window with profile: "Pro"
- Profiles
- Select “Pro” and set as default
- Font: Ricty Discord Regular for Powerline 12pt
- Change blue color to make it clear
- Open “Terminal.app"
- Open “Preferences"
- Shell open with Command “/usr/local/bin/zsh"
- Add “/usr/local/bin/zsh” (homebrew’s zsh)
vi /etc/shells
# add the following line
/usr/local/bin/zsh
- Change the login shell
chpass -s /usr/local/bin/zsh
- Check the update
chpass
- Import terminal
- Profiles
- General
- Command: Login shell
- Working Directory: Reuse previous session’s directory
- Text
- Regular Font: Inconsolata, Regular, 13pt
- Non-ASCII Font: Ricty for Powerline, Regular, 13pt
- Horizontal: 5, Vertical: 1.1
- Window
- Adjust Transparency and Blur
- Terminal
- Scrollback Lines: 2,000
- Session
- Miscellaneous
- Turn on "Automatically log session input files in" and set "~/logs/iterm2" directory
- Miscellaneous
- General
brew install rbenv
brew install ruby-build
brew install mysql
brew install autoconf
- Show the supported ruby versions
rbenv install -l
- Install Ruby
rbenv install 2.0.0-p598
rbenv rehash
rbenv global 2.0.0-p598
- Install ruby gems
gem install bundle pry awesome_print aws-sdk fluentd
sudo vi /etc/apache2/users/[USER-NAME].conf
sudo vi /etc/apache2/users/mmasashi.conf
<Directory "/Users/[USER-NAME]]/Sites/">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
- exmaple
<Directory "/Users/mmasashi]/Sites/">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>