search

Home  >  Q&A  >  body text

nginx installation failed? How to reinstall?


I had some problems after installing it before, so I brew uninstall nginx, and it seemed like a link puce came out, so I brew remove puce, and brew install nginx again and there was an error, so I deleted it manually. The folder is still wrong as shown in the picture, please tell me how to reinstall it, thank you all

怪我咯怪我咯2749 days ago546

reply all(1)I'll reply

  • phpcn_u1582

    phpcn_u15822017-05-16 17:18:39

    Like the author’s PS1

    1. brew cleanup # will delete older versions of all brew-installed software

    2. brew doctor # Treat it according to the diagnosis results, and the problem will usually be solved

    3. brew update

    4. brew install nginx

    reply
    0
  • Cancelreply