Macos High Sierra 10.13 Work Environment Install   2017-10-03


Enable Dragging With Three Finger :

System Preferences -> Accessibility -> Mouse & Trackpad -> Trackpad Options.

1. Common Soft

  1. Chrome
  2. NeteaseMusic
  3. Baiduyun & Aira2GUI
  4. Microsoft_Office_2016_15.38.17090200_Installer.pkg

Google Chrome is up to date
Version 61.0.3163.100 (Official Build) (64-bit)

百度云破解限速 (Aria2GUI + chrome plugin)

Evernote 国际版与国内版分开管理的.

2. Dev Tools

2.1 general dev tool

  1. Macdown
  2. Alfred
  3. Atom
  4. SubLime Text
  5. Homebrew
  6. Iterm2
  7. Oh-my-zsh
  8. PyCharm & IDEA
  9. GNU_Octave_3.8.0-6.dmg

brew (install 过程会自动需要 Xcode 被安装)
brew install wget tree

wget https://bootstrap.pypa.io/get-pip.py

sudo python get-pip.py

2.2 iterm & zsh

Iterm2 Change Font

Iterm2 -> Preference -> Profiles -> Text -> Change Font -> 17pt Courier New Bold

Iterm2 Hide scrollbars And title bar

Preference -> Appearance

取消 show per-pane title bar with split panes.
勾选 Hide scrollbars

Iterm2 Color Presets

Iterm2 -> Preference -> Profiles -> Color -> Color Presets -> your_theme

maybe Atom, Brogrammer, Darkside

Zsh astro theme

oh-my-zsh 自带 git 插件,里面的针对git 的别名设置见:

➜ >vim .oh-my-zsh/plugins/git/git.plugin.zsh

oh-my-zsh autojump plugin install

  1. brew install autojump
  2. vim .zshrc
plugins=(git autojump)
[[ -s $(brew --prefix)/etc/profile.d/autojump.sh ]] && . $(brew --prefix)/etc/profile.d/autojump.sh

then, source ~/.zshrc

Reference Article

Iterm2-color-schemes
Iterm-colors
Zsh astro theme
使用 Zsh 的十大优点.
oh-my-zsh配置你的zsh提高shell逼格终极选择.
打造高效个性Terminal(一)之 iTerm.
打造高效个性Terminal(二)之 zsh.
Mac下的效率工具autojump


2.3 ssh config

  1. ssh-keygen -t rsa -C “your-company-email-full-address”
  2. ~/.ssh/id_rsa.pub 粘贴到运维平台

mac iterm2 ssh 跳转失败, 解决办法 :

(1) 新建并编辑 .ssh/config, 并复制以下内容到 config文件中

Host * 
ForwardAgent yes
PasswordAuthentication yes
StrictHostKeyChecking no
HashKnownHosts yes
Compression yes

(2) cd ~/.ssh, 并在 terminal 中执行 ssh-add

2.4 navicat for MySQL

rds-general

Encoding 设置为 utf-8 则,查询数据库,汉字乱码,改为 Auto 解决。

ssh-rds

3. Java

  1. JDK
  2. Maven
  3. Tomcat
  4. Scala
  5. Spark
➜  software pwd
/usr/local/xsoft/software
➜ software ll
total 0
lrwxr-xr-x apache-maven -> /usr/local/xsoft/deploy/apache-maven-3.3.9
lrwxr-xr-x apache-tomcat -> /usr/local/xsoft/deploy/apache-tomcat-7.0.59
lrwxr-xr-x scala -> /usr/local/xsoft/deploy/scala-2.11.7
lrwxr-xr-x spark -> /usr/local/xsoft/deploy/spark-1.6.3-bin-hadoop2.6
➜ software

4. Blog

  1. hexo
  2. Install Node.js
$ wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash

Once nvm is installed, restart the terminal and run the following command to install Node.js:

$ nvm install v4.1.0
$ npm install -g hexo-cli

v4.1.0 更合适 hexo

5. Python

5.1 this mac install pip

Python pip , sudo python get-pip.py

then, terminal input pip list.

If exist warning:

DEPRECATION: The default format will switch to columns in the future. You can use –format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.

solve this warning:

~.vim ~/.pip/pip.conf
[list]
format=columns

5.2 pyenv install package

First, you need to install python pyenv environment

Python 3.6.3
(vpy3)


pip install numpy
pip install scipy
pip install matplotlib
pip install pandas

pip install xlrd
pip install xlwt
pip install StatsModels
pip install scikit-learn

pip install jieba
pip install --upgrade gensim

pip install elasticsearch==1.9

ipython

pip install ipython

然后, 如 terminall input ipython 不存在, 则 pip show ipython, python -m IPython 试试.

notebook

#pip install --ignore-installed six
#pip install target-gsheet tap-fixerio
pip install notebook

pip install notebook, 如 macos High Sierra 10.13 报错,则
pip install –ignore-installed six
pip install target-gsheet tap-fixerio
then, pip install notebook

8. Reference

Macos NSNavRecentPlaces 内部自动生成的配置,别乱改。

defaults write -g NSNavRecentPlaces ‘(“~/Desktop”, “/usr/local/xsoft/software”)’;


分享到:


  如果您觉得这篇文章对您的学习很有帮助, 请您也分享它, 让它能再次帮助到更多的需要学习的人. 您的支持将鼓励我继续创作 !
本文基于署名4.0国际许可协议发布,转载请保留本文署名和文章链接。 如您有任何授权方面的协商,请邮件联系我。

Contents

  1. 1. Common Soft
  2. 2. Dev Tools
    1. 2.1 general dev tool
    2. 2.2 iterm & zsh
    3. 2.3 ssh config
    4. 2.4 navicat for MySQL
  3. 3. Java
  4. 4. Blog
  5. 5. Python
    1. 5.1 this mac install pip
    2. 5.2 pyenv install package
  6. 8. Reference