View and vote on the article here: Apache for Linux
Apache for Linux| Category | | | Summary | 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?
|
| | Body | 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
Congradulations you have installed Apache and got it running. Now it is up
to you to goto 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 imported from zZine. (original author: LinuxFreedomFighter)
There are no replies to this post yet.
|