What is Apache?
Apache is the worlds finest HTTP Daemon (in my opinion) and is mostly used on Unix systems. Plus it is Open Source.
What is a Daemon?
A daemon is a service in which it does something that runs in the background, usually for internet purposes
How do I get Apache?
You can get Apache from http://www.apache.org/
How do I install Apache?
Well there are many ways one can INSTALL Apache but, I always prefer the Compilation on a Unix system. To compile Apache: First get the Source Codes from http://www.apache.org/ then...
Unzip the source code using this command: tar -zxvf Apache*.tar.gz or whatever you prefer to unzip it
Commands to use:
# ./configure --prefix=/usr/local/apache
> --enable-module=most
> --disable-module=auth_dbm
> --enable-shared=max
This will allow a user to configure apache to install into the directory /usr/local/apache and allow addons to Apache just by installing new modules like PHP and mySQL.
Commands for the actual Compile:
# make
==>src
make[1]: ENtering directory '/usr/local/src/apache_....
-- Many lines deleted --
Now for the command to take the Binaries and place them in the right spots
Command for install:
# make install
make[1]: Entering directory '/usr/local/src/apache_...
-- Many lines deleted --
Now Apache should come up with a notice that the compilation was a success.
To begin running Apache:
# /usr/local/apache/bin/apache start
Congratulations you have installed Apache and got it running. Now it is up to you to go to http://www.apache.org/ and check out the instructions for the configuration files or you could do what I did, learn them on your own.
This article was originally published by CyberArmy.net in the CyberArmy Library.
|