Current Articles | RSS Feed
While there are many binary versions of Apache available for the AIX platform, many people wish to build it themselves so they can add modules or custom locations to the Apache Web server. Should you need that flexibility, this tutorial will guide you.
This is not an AIX administration guide, and any administration tasks suggested by this guide will need to be performed as a "root" user. If you're unsure of whether or not you are a "root" user, then you should stop now, and find someone who knows for sure.This tutorial will also assume that we're building Apache with GCC (GNU Compiler Collection). The steps outlined here may work with other compilers, but have only been tested with GCC.
In order to properly prepare the system and the Apache build configuration, we need to make a checklist of where you want Apache and what use you wish to make of it.
/build
/usr
/tmp
/hold/Apache-2.2.8
cd /hold/Apache-2.2.8
./configure --prefix=/usr/local/apache
First you'll want to uncompress the Apache source code into a temporary location. We usually create a /hold/Apache-2.2.8 directory, but any directory where you have space is fine.
This tutorial will assume that directory is /hold/Apache-2.2.8 and will assume that the answer to question 1 in the Prerequisites section above is /usr/local/apache.
/usr/local/apache
make
make install
/usr/local/apache/bin
./apachectl start
You should see the page load, and it will report "It Works!"
Allowed tags: <a> link, <b> bold, <i> italics