Skip to main content

Installing Apache on linux

Summary of page Compiling and Installing - Apache HTTP Server

Download files

Download (1) apr (2) apr-util (3) pcre (4) httpd.


Compile APR

tar -xvzf apr-1.4.6.tar.gz

cd apr-1.4.6/
./configure
make
make install

Compile APR-UTIL


tar -xvzf apr-util-1.4.1.tar.gz

cd apr-util-1.4.1
./configure --with-apr=/usr/local/apr
make
make install

Compile PCRE


cd pcre-8.31
./configure --with-apr=/usr/local/apr
make
make install

Compile HTTPD


tar -xvzf httpd-2.4.1.tar.gz

cd httpd-2.4.1
./configure --enable-file-cache --enable-cache --enable-disk-cache --enable-mem-cache --enable-deflate --enable-expires --enable-headers --enable-usertrack --enable-ssl --enable-cgi --enable-vhost-alias --enable-rewrite --enable-so --with-apr=/usr/local/apr/ --prefix=/sw/pkg/apache

make
make install
cd ..

Comments

It is really amazing! So many new things that I even didn't hear about them. Difficult to follow for a not professional, a private individual. The world goes on progressing by innovating and inventing.

Popular posts from this blog

Best freeware - XML editor

As a software developer, I open XML files all the time. I a heavy commercial XML editor. But nothing can compare to a small, thin and free XML editor like 'foxe'. A great feature is has is the alignment of long XML strings to readable XML format (Shift-F8). It help lot of times when the XML file was generated by some tool and was not readable. Homepage: http://www.firstobject.com/dn_editor.htm

Jenkins error: groovy.lang.MissingPropertyException

I tried to run groovy build step and got below error. This post will describe how I solved the problem. Caught: groovy.lang.MissingPropertyException: No such property: hudson for class: script

SSL in pictures

Here is my summary on SSL (or as I like to call it 'SSL for dummies')