Mac常见操作

tianxing 2018-09-30

  1. sed:mac自带bsd的sed,安装gnu下的sed
    brew install gnu-sed --with-default-names
     
  2. 安装homebrew,类似ubuntu的apt-get
    #1、安装homebrew  
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
     
  3. 安装nginx
    #1、安装nginx,默认安装路径:/usr/local/etc  
    brew install nginx  
    #2、启动nginx  
    nginx
     

相关推荐

爱文学更爱编程 / 0评论 2020-08-01