Commands for uninstalling apache2

Source: Internet
Author: User

From: http://www.windsfly.cn/blog/article.asp? Id = 2381

1. commands for uninstalling apache2

Sudo apt-Get -- purge remove apache2
Sudo apt-Get -- purge remove apache2.2-common

Or directly use a command
Sudo apt-Get autoremove apache2

2. uninstall MySQL
Sudo aptitude purge mysql-server mysql-server-5.0

3. Uninstall PhP5
Sudo apt-Get autoremove PhP5

4. Batch Delete components and related
# Apt-Get remove -- purge apache2 apache2-mpm-prefork apache2-utils apache2.2-common libapache2-mod-php5
# Apt-Get remove -- purge libapr1 libaprutil1 libdbd-mysql-perl libdbi-perl libmysqlclient15off
# Apt-Get remove -- purge Libnet-Daemon-perl libplrpc-perl libpq5 mysql-client-5.0 mysql-common
# Apt-Get remove -- purge mysql-server mysql-server-5.0 php5-common php5-mysql

These are the commands. You can query them online.

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.