Home arrow Apache arrow Page 2 - Getting Started with Apache 2.0, Part 1

Getting Off the Blocks - Apache

In this first article in a three-part series, Harish Kamath helps you download and configure the Apache Web server. If you've wanted to use PHP with Apache, look no further; that part of the setup is also covered here.

TABLE OF CONTENTS:
  1. Getting Started with Apache 2.0, Part 1
  2. Getting Off the Blocks
  3. Compiling Apache
  4. Configuration Options
  5. The "httpd.conf" Configuration File: a Quick Overview
  6. PHP 5.0.3 with Apache 2.0.52
  7. Conclusion
By: Harish Kamath
Rating: starstarstarstarstar / 28
March 07, 2005

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

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
 

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort
   

APACHE ARTICLES

- Apache Unveils Cassandra 1.2
- Apache on ARM Chips? Dell and Calxeda Help M...
- The Down Side of Open Source Software
- VMware Unveils Serengeti for Apache Hadoop
- SAP Takes Steps to Improve Hadoop Integration
- Looking to Hone Apache Hadoop Skills?
- How to Install Joomla on WAMPP
- Working with XAMPP and Wordpress
- GUI Available for Apache Camel
- Reduce Server Load for Apache and PHP Websit...
- Creating a VAMP (Vista, Apache, MySQL, PHP) ...
- Putting Apache in Jail
- Containing Intrusions in Apache
- Server Limits for Apache Security
- Setting Permissions in Apache

Developer Shed Affiliates

 


Dev Shed Tutorial Topics: