• Skip to main content
  • Skip to primary sidebar
  • Home
  • WordPress
  • web Hosting
  • linux
  • mysql
  • nginx
  • apache2
  • devops

Raju Ginni

wordpress tutorials seo hosting etc

You are here: Home / apache server tutorial (install,config, performance tuning, security, error handling) / uninstall apache2 ubuntu in 3 steps Debian

uninstall apache2 ubuntu in 3 steps Debian

Table of Contents

Toggle
  • how to uninstall apache2 ubuntu
  • how to uninstall apache2 Debian
    •  uninstall
    • Uninstall without leaving configuration files
    • To clean the files

how to uninstall apache2 ubuntu

apt-get remove apache2  // to uninstall

 

apt-get purge apache2. It will remove the all config files

apt-get autoremove  // to clean the files

sudo rm -rf /etc/apache2  // manually deleting the files

how to uninstall apache2 Debian

 uninstall

sudo apt-get remove apache2

Uninstall without leaving configuration files

apt-get purge apache2.

 

To clean the files

apt-get autoremove

apt-get autoremove will only remove files which are not in use by any installed package.

sudo rm -rf /etc/apache2  // manually deleting the files

 

apache2 automatically installed while installing phpmyadmin ang nginx won’t start becuause port 80 a;eadry occupied, so ihave to stop apache 2 inorder to run nginx.

 

also know Uninstall a Linux pacakge

Primary Sidebar

apache server tutorial (install,config, performance tuning, security, error handling)

  • what is If-Modified-Since HTTP header how to add to Wordpress website
  • htaccess tutorial tips for wordpress #redirect #leverage browser cache #Gzip #KeepAlive
  • apache modules list (explained, enable disable)
  • connect to server by SSH client Putty SFTP client winscp LAMP, LEMP nginx apache etc linux
  • Lamp stack install on Ubuntu 20.4 LTS apache, mysql, php 7.4(Debian 9 & Ubuntu 18.04 lts)
  • apache performance tuning mpm-worker vs prefork vs event modules
  • enable caching in apache server (mod cache disk cache) vs fastcgi cache
  • how to enable KeepAlive connections in apache nginx wordpress
  • Cache control Header & expires headers How to set Properly
  • apache2 conf sample explained apache configuration file modules etc
  • restart apache in ubuntu (start | stop | reload | config test) centos debian mac linux windows 10 xampp
  • uninstall apache2 ubuntu in 3 steps Debian

hi i am raju ginni, primalry i manage wordpress websites on GCP cloud platform as a cloud engineer, and create content on passionate things.
you can follow me on youtbe

© 2025 - All Rights Reserved Disclaimer & Privacy Policy