Pages

Tuesday, November 24, 2015

Compilation and installation of the Apache2 HTTP Server on Linux

1. Requirements
- Apache Portable Runtime 1.5.2 Released
http://mirrors.viethosting.vn/apache//apr/apr-1.5.2.tar.gz
- Apache Portable Runtime Utility 1.5.4 Released
http://mirrors.viethosting.vn/apache//apr/apr-util-1.5.4.tar.gz
- Perl-Compatible Regular Expressions Library (PCRE)
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.37.tar.gz

- Apache2 download:
http://mirrors.viethosting.vn/apache//httpd/httpd-2.4.17.tar.gz

2. Install
- unzip apr, apr-util, pcre, httpd-2.4.17
- copy apr, apr-util  to  httpd-2.4.17

cp -ru apr httpd-2.4.17/srclib/
cp -ru apr-util httpd-2.4.17/srclib/

- install PCRE

./configure
make
make install
- install Apache2

./configure --prefix=/u01/app/apache2/
make
make install

No comments:

Post a Comment