Compiling httpd program
Used by the package
- httpd-2.4.25.tar.bz2
- Environmental Centos7
one: first unzip the package with the tar tool.
Two: you can see the program after decompression of files in the directory package, our focus is Makefile.in template files, as well as the program documentation README, and INSTALL files compiled method will not compile can look inside step instructions . Green configure an executable file.
Three: set up the options you can start, and here I only set the installation path, the other can be added as needed
Four: Because it is first installed, do not know the explanation will be missing dependencies, we see an installation a bar.
Five: Under normal circumstances prompted what is missing, and then later add a devel
six: yum install apr-devel installed
Seven: We then execute ./configure --prefix = / apps / httpd24
eight:
nine: finally there is no error, you can execute the make -j 2
X: Finally, run make install and you're done
XI: see below figure It shows complete compiler installed.
12:
Thirteen: Open your browser and enter the ip address can open a web page.
14: We see the file on a web page which
five: With this folder we can set the boot http service.