Security in CPS/Networking

[apache2] build apache2 (httpd)

mjune.kim 2019. 9. 4. 10:55

http://httpd.apache.org/docs/current/install.html 

 

Welcome! - The Apache HTTP Server Project

The Number One HTTP Server On The Internet The Apache HTTP Server Project is an effort to develop and maintain an open-source HTTP server for modern operating systems including UNIX and Windows. The goal of this project is to provide a secure, efficient an

httpd.apache.org

1. Download source code from the official web site (http://httpd.apache.org/download.cgi)

2. Extract the compressed file in your directory

3. Build httpd and check if it works ok.

$> ./configure --prefix=PREFIX

$> make

$> make install

e.g. In my case, I have set prefix into /usr/local and created link file in /usr/sbin/apache2 which is the path for installing apache2 package.

 

[Troubleshooting]

  • Need to install libapr1, libapr1-dev, libaprutil1, libaprutil1-dev