2016-03-04
Tags: mac
儿個月前因為工作需要摸了一陣子 MAC 筆電,有一些簡單心得,所以做個筆記以備未來不時之需 :)
產生 SSH 公私鑰
ssh-keygen -t rsa
Storing Passphrases in the Keychain, 免除每次 ssh 連線都要指定 private key 所在位置
ssh-add -K /path/to/private/key/file
相關參考文件
homebrew 可以幫你用 console command
的方式安裝與管理各種軟體,可以讓你在這方面省掉很多時間,強烈推薦要用這個好物。下面列的是我常會利用 homebrew 安裝的軟體。
# install xcode command tool
xcode-select --install
# check xcode command tool
xcode-select -p
# install homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# check homebrew install success or not
brew doctor
brew update
# install homebrew-cask
brew tap caskroom/cask
brew install brew-cask
# i install these soft below by brew & brew-cask
brew install wget
brew install curl
brew install git
brew install htop-osx
# install java7
brew cask install caskroom/versions/java7
# install java8
brew cask install java
brew cask install intellij-idea-ce
brew cask install eclipse-jee
brew install maven
brew install gradle
brew cask install sourcetree
brew cask install cyberduck
brew cask install dbeaver-enterprise
brew cask install google-chrome
brew cask install firefox
brew cask install flash
brew cask install bettertouchtool