Apache
  Home arrow Apache arrow Page 2 - Getting Started with Apache 2.0, Part 1
Dev Shed Forums  
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Smartphone Development  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Mobile Linux  
App Generation ROI  
IBM® developerWorks  
Forums Sitemap  
E-Commerce Hosting  
Linux Web Hosting  
Managed Hosting  
Small Business Hosting  
VPS Hosting  
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid  
Request Media Kit
Contact Us  
Site Map  
Privacy Policy  
Support  
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
APACHE

Getting Started with Apache 2.0, Part 1
By: Harish Kamath
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: starstarstarstarstar / 27
    2005-03-07


    Table of Contents:
  • Getting Started with Apache 2.0, Part 1
  • Getting Off the Blocks
  • Compiling Apache
  • Configuration Options
  • The "httpd.conf" Configuration File: a Quick Overview
  • PHP 5.0.3 with Apache 2.0.52
  • Conclusion

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      error-file:tidyout.log Del.ici.ous error-file:tidyout.log Digg
      error-file:tidyout.log Blink error-file:tidyout.log Simpy
      error-file:tidyout.log Google error-file:tidyout.log Spurl
      error-file:tidyout.log Y! MyWeb error-file:tidyout.log Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article

     
     
    ADVERTISEMENT


    Getting Started with Apache 2.0, Part 1 - Getting Off the Blocks
    ( Page 2 of 7 )

    There are several ways to install Apache on your server. You could start by downloading a binary distribution built specifically for your operating system, or locate a RPM for your version of Red Hat Linux (or "Fedora," as it is now known), or you could do what I always do - install it from scratch by compiling the source code.

    Before you get started with the compilation, I've prepared a little checklist of the requirements in order to ensure a smooth ride:

    • A working installation of your favorite flavor of Linux; mine's Slackware.

    • Root access to your Linux box to avoid any permissions issues.

    • A functional C compiler, such as gcc.

    • *NIX utilities such tar and gzip/gunzip to work with source code files.

    • A Linux guru, who is only a phone call way to resolve all those pesky "unforeseen" problems.

    Next, you'll need to download the source code of the "best available" version (2.0.52, as of this writing) of the Apache Web server. Note that I've selected the Apache 2.0 version over than "widely-installed" 1.3.x version and the "alpha" 2.1 version, for several reasons.

    This 2.0 version is equipped with several enhancements, such as platform-specific multi-processing modules (MPMs) and the Apache Portable Runtime (APR), support for latest IPv6 protocol, ease of configuration with a consistent build mechanism and much, much more, as compared to its predecessor, the 1.3.x version. For hardcore techies, this article titled "Apache 2.0: The Internals of the New, Improved" on LinuxJournal.com - http://www.linuxjournal.com/article/4559 - should be an interesting read.

    Coming back to the download - select an appropriate mirror website from the download page located at http://httpd.apache.org/download.cgi and save the file "httpd-2.0.52.tar.gz" at an appropriate location (say the "/tmp" folder) on your server.

    In the next section, I'll show you how to install the Apache using the default settings that are sufficient to get the Web server to serve static HTML pages.



     
     
    >>> More Apache Articles          >>> More By Harish Kamath
     

       

    APACHE ARTICLES

    - Creating a VAMP (Vista, Apache, MySQL, PHP) ...
    - Putting Apache in Jail
    - Containing Intrusions in Apache
    - Server Limits for Apache Security
    - Setting Permissions in Apache
    - Installing Apache
    - Apache Installation and Configuration
    - Apache Tapestry and Custom Components: DateI...
    - Tapestry and AJAX: Autocompleter and InlineE...
    - PropertySelection and IPropertySelectionMode...
    - The DatePicker and Shell Components of Apach...
    - Apache Tapestry: ASO and More Components
    - Apache Tapestry and DirectLink, IoC and DI
    - Making a CelebrityCollector with Apache Tape...
    - Apache Tapestry and Listener Methods, Condit...





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 Hosted by Hostway
    Stay green...Green IT