|
This article guides you through the installation and configuration of Apache, you will find the latest stable server software, as well as the latest beta releases of the Apache source distribution, on the official site: http://www.apache.org. If you don't have access to a compiler, you can still install Apache provided that you can find a precompiled version of the server that works with your hardware and operating system.
To install Apache in its default location at /usr/local/etc/httpd, you may need to be the superuser. You'll need to know the root password of the machine in which you are installing Apache. If you don't know how to become root, please contact your local system administrator.
Installing a precompiled server is very similar to installing a source-only distribution. The only difference is that a compiled httpd binary already exists in the server's src directory. The compiled binary of the Apache server is called httpd. On binary distributions, the binary is usually labeled httpd-architecture, where architecture is the name of the OS you are installing.
For the article we going to install the server from the binaries, the skip are the next:
- Download the binaries
- $cd /usr/local/install
- $tar zxvf /usr/local/distrib/apache_1.3.26.tar
- $cd apache_1.3.26
- $./configure -enable-module=so
- $make
After then as root install the server:
If we want to comprobe that the configuration is correct, you eject:
-
# /usr/local/apache/bin/apachectl configtest
Appears a message that saids "Sintaxix ok", then the server is runing with minimal requirement.
|