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.
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.
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?