0

How do you remove MariaDB and NGINX from Mac via terminal?

I am just trying to run Apache2 on localhost:8080 but I get the NGINX welcome page.

1

Trying stopping the process - nginx -s stop should shut the server down. To restart it, run which nginx to tell you where it's running from. Then run the main executable.

Instead of going for the nuclear option of removing it straight away, stop the server. Once you know where it's starting from, you can navigate there and look at the config files to see what port it's on etc. Or you could just nuke it using rm -rf on the nginx paths.

  • Thanks so much I will do that – Drew Norman May 9 at 14:34
0

It depends how you installed them.

For future use, I'd use homebrew to install everything and then uninstall is done with brew uninstall. Homebrew has become a huge open source project with both individual and corporate support.

Actually, I can't easily find any way to install Nginx or MariaDB on macOS without using homebrew. So maybe brew uninstall nginx is your answer?

  • Thanks so much I will do that – Drew Norman May 9 at 14:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .