美文网首页
brew命令

brew命令

作者: ThomasYoungK | 来源:发表于2019-04-21 11:16 被阅读0次

    brew info nginx: 可以查看我用brew install 安装nginx后的信息

    nginx: stable 1.15.7 (bottled), HEAD
    HTTP(S) server and reverse proxy, and IMAP/POP3 proxy server
    https://nginx.org/
    Not installed
    From: https://mirrors.ustc.edu.cn/homebrew-core.git/Formula/nginx.rb
    ==> Dependencies
    Required: openssl ✔, pcre ✘
    Optional: passenger ✘
    ==> Options
    --with-passenger
        Compile with support for Phusion Passenger module
    --HEAD
        Install HEAD version
    ==> Caveats
    Docroot is: /usr/local/var/www
    
    The default port has been set in /usr/local/etc/nginx/nginx.conf to 8080 so that
    nginx can run without sudo.
    
    nginx will load all files in /usr/local/etc/nginx/servers/.
    
    To have launchd start nginx now and restart at login:
      brew services start nginx
    Or, if you don't want/need a background service you can just run:
      nginx
    ==> Analytics
    install: 44,965 (30 days), 105,474 (90 days), 432,223 (365 days)
    install_on_request: 41,982 (30 days), 99,205 (90 days), 396,427 (365 days)
    build_error: 0 (30 days)
    

    brew search nginx: 查询要安装的软件是否存在

    参考文献:
    mac下安装nginx: https://www.cnblogs.com/meng1314-shuai/p/8335140.html

    相关文章

      网友评论

          本文标题:brew命令

          本文链接:https://www.haomeiwen.com/subject/yhvdgqtx.html