Demo image Demo image Demo image Demo image Demo image Demo image

How to Uninstall Apache Server

  • Sunday, January 9, 2011
  • zana991
  • Unix -- Installed from Source Code
    #1

    Open a Terminal Window. The terminal window will be found in the operating system's main "Application" menu, under either "System Tools" or "Utilities." You will be presented with a command prompt where you will type the following commands.
    #2

    Type the command "su" to switch to the root user.
    #3

    Type the command "/etc/init.d/httpd stop" to stop the Apache service.
    #4

    Type the command "rm -rf /usr/local/apache2" to remove the apache2 directory.
    #5

    Type "exit" to exit from the root session.

    Linux -- Installed With RPM Package
    #1

    Open a Terminal Window. The terminal window will be found in the operating system's main "Application" menu, under either "System Tools" or "Utilities." You will be presented with a command prompt where you will type the following commands.
    #2

    Type the command "su" to switch to the root user.
    #3

    Type the command "/etc/init.d/httpd stop" to stop the Apache service.
    #4

    Type "rpm -e apache-" to remove the Apache software. Replace with the version number of the Apache installation.
    #5

    Type "exit" to exit from the root session.

    Read more: How to Uninstall Apache Server | eHow.com http://www.ehow.com/how_5148463_uninstall-apache-server.html#ixzz1Abo27JXF

    Windows
    #1

    Open a Command Prompt window. The Command Prompt window will be found under the "Accessories" sub menu of the "All Programs" window. You will be presented with a command prompt where you will type the following commands.
    #2

    Type the command "cd C:\Program Files\Apache Group\Apache2\bin" to navigate to the Apache installation directory.
    #3

    Type the command "apache k uninstall" to remove the service.
    #4

    Open "Add/Remove Programs" in the Control Panel.
    #5

    Click "Remove" next to the "Apache HTTP Server" program.

    Read more: How to Uninstall Apache Server | eHow.com http://www.ehow.com/how_5148463_uninstall-apache-server.html#ixzz1AbnpypC6

    0 comments: