2019-03-29 | UNLOCK

macOs设置

安装常用软件

  • 安装brew

    1
    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • 安装iterm

    1
    brew install iterm
  • oh-my-zsh

    1
    sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
  • 安装autojump

    1
    2
    3
    4
    5
    6
    brew install autojump
    cd ~
    vim .zshrc


    plugins=(git autojump)

开启ssd 加速

1
sudo trimforce enable

vpn l2tp关闭共享密码

1
2
3
4
5
6
7
cd /etc/ppp
touch options
vim options


plugin L2TP.ppp
l2tpnoipsec

开启安装隐私中显示任何来源

1
sudo spctl --master-disable

关闭ipv6

1
networksetup -setv6off Ethernet