How do I remove an existing LAMP stack?

7.18K viewsLEMPBeginner Command Line FAQ Installation

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?


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

You are viewing 1 out of 3 answers, click here to view all answers.