How do I remove an existing LAMP stack?

314 views
0

If I want to start over with a server and install a LEMP stack from scratch, how do I completely remove the existing LAMP stack?

0

You’ll want to remove Nginx. If you want to completely remove everything you can use
apt-get purge nginx.

If you want to keep your configuration files:
apt-get remove nginx

0

hello,I setup the LEMP ,but NOW can not remove it???

it ues 80 port.there is some confilct…

0

You can uninstall the typical core components via apt-get: