How to completely delete Apache2 in Ubuntu

Source: Internet
Author: User
Ubuntu installation of Apache2 is very simple, just sudoapt-getinstallapache2. But after using the sudoapt-getremoveapache2, I said that only a few k of space can be released, and after the deletion can still access the apache server, it is visible that not deleted. Later I used manapt-get to see that apt-get has another parameter autoremove, that is, sudoapt-getautoremo.

Installing Apache2 in Ubuntu is simple. You only need sudo apt-get install apache2.

However, after I use sudo apt-get remove apache2, I say that I can only release the space of a few k points at, and I can still access the apache server after deletion. it is visible that I have not deleted it.

Later, use man apt-get to see that apt-get has another parameter autoremove, that is, sudo apt-get autoremove apache2, which will be deleted!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.