Install Apache webserver(source compile) in AIX 6.1
2013.02.01 03:07
원문 : http://www.ischo.net -- 조인상 // 시스템 엔지니어
Writer : http://www.ischo.net -- ischo // System Engineer in Replubic Of Korea
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
Writer : http://www.ischo.net -- ischo // System Engineer
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
Install Apache webserver(source compile) in AIX 6.1
1. Download Linux Toolbox for AIX in order to compile apache webserver source.
ULR : http://www-03.ibm.com/systems/power/software/aix/linux/toolbox/ezinstall.html
Packages for compile.
./autoconf-2.59-1.aix5.1.noarch.rpm
./automake-1.8.5-1.aix5.1.noarch.rpm
./gcc-4.2.0-3.aix6.1.ppc.rpm
./gcc-cplusplus-4.2.0-3.aix6.1.ppc.rpm
./libgcc-4.2.0-3.aix6.1.ppc.rpm
./libstdcplusplus-4.2.0-3.aix6.1.ppc.rpm
./libstdcplusplus-devel-4.2.0-3.aix6.1.ppc.rpm
./libtool-1.5.8-2.aix5.1.ppc.rpm
./make-3.80-1.aix5.1.ppc.rpm
./m4-1.4.1-1.aix5.1.ppc.rpm
2. Install rpm Package
# rpm -Uvh filename.rpm
* Install all above packages.
3. Download apache source from apache foundation homepage.
4. uncompress and extract tarball source.
# gzip -d httpd-2.2.23.tar.gz
# tar xf httpd-2.2.23.tar
5. Compile apache and install.
# ./configure --prefix=/usr/local/apache2 \
--enable-module=rewrite \
--enable-module=so \
--enable-module=shared \
--enable-so=rewrite \
--enable-module=proxy \
--enable-so=proxy
# make install
6. modify default httpd.conf file
# cd /usr/local/apache2/conf
# vi httpd.conf
In httpd.conf file, default user and group's value is 'deamon' but there is no deamon account in AIX.
Add account for apache server. ('root' is not permitted user and group's value.)
7. test
# /usr/local/apache2/bin
# ./apachectl start
Check default web page from web browser.