SHARE
Facebook X Pinterest WhatsApp

Getting Started with Apache 1.3 Page 6

Written By
thumbnail
Ken Coar
Ken Coar
Jun 1, 2000
ServerWatch content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More



Beyond that you’re on your own, as building Apache on Windows is not
exactly a ‘getting started’ topic! You can find more (possibly
outdated) information on the Apache site at
http://www.apache.org/docs/windows.html>.

Shutting Down Apache

On Unix systems, you use the apachectl script to
manage the Web server. This script typically lives in the
bin/ subdirectory under the ServerRoot. If Apache
has been installed according to the assumptions
made by this article, that means you should shut the server down
with a command like this:

    # /usr/local/web/apache/bin/apachectl stop
  

If this doesn’t work, the alternative is to locate the master
httpd process and send it a SIGTERM signal.
However, if apachectl failed, you should check
with someone about how to proceed — not that there’s any
danger, just that it can be confusing unless you’re familiar
with Unix and process management tools.

On Windows, you can either stop a running Apache server process
by choosing the Stop Apache item from the
Apache Web Server programme group, or by issuing the
following in a DOS window:

      C:Program FilesApache GroupAPACHE>apache -k stop
  
De-installing Apache on Windows
  If you have previously installed the Apache Web server on your
  Windows system, it is a good idea -- a very good idea, in
  fact -- to uninstall it before upgrading, or even re-installing the
  same version.
  
  To deinstall Apache from your system, choose the Add/Remove Programs
  control panel item.  You should be able to get this from the
  task bar by choosing Start->Settings->Control Panel
  and double-clicking on the Add/Remove Programs icon.
  
  Apache should be one of the applications available to remove.  Select
  it, and click on the Add/Remove... button.
  





Note:
Uninstalling the Apache software this way will not
       remove your configuration settings.  If you later install Apache
       in the same location, the new server will use the settings you
       had previously.





Installing the Apache Server
  How you install the Apache Web server software depends on your
  platform and the type of package you downloaded.  For example,
  the Windows installation is a simple point-and-click operation;
  for Unix it can be a little more complex.
  
Installing a Linux RPM
  This is perhaps the simplest option of all.  Once you’ve acquired the
  RPM file (which you have to get from some other location than the Apache
  distribution site; the Apache Software Foundation doesn’t distribute RPM
  files), you can just ‘make it so’ by being logged in as root and
  issuing the following command from the directory where the Apache RPM file
  is located:
  
  
    # rpm -Uvh apache*
  
  
  Of course, this may or may not install the source tree, and probably
  won’t put files into the same directories as
  assumed by this article — you’ll need to
  find out the differences and make adjustments.
  
Installing a Pre-built Package on Unix

Recommended for you...

What Is a Container? Understanding Containerization
What Is a Print Server? | How It Works and What It Does
Nisar Ahmad
Dec 8, 2023
6 Best Linux Virtualization Software for 2024
What Is a Network Policy Server (NPS)? | Essential Guide
ServerWatch Logo

ServerWatch is a top resource on servers. Explore the latest news, reviews and guides for server administrators now.

Property of TechnologyAdvice. © 2025 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.