httpd program compiled under linux

Compiling httpd program

Used by the package

  • httpd-2.4.25.tar.bz2
  • Environmental Centos7
    one: first unzip the package with the tar tool.
      httpd program compiled under linux
    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.

  httpd program compiled under linux

Three: set up the options you can start, and here I only set the installation path, the other can be added as needed

  httpd program compiled under linux

Four: Because it is first installed, do not know the explanation will be missing dependencies, we see an installation a bar.

  httpd program compiled under linux

Five: Under normal circumstances prompted what is missing, and then later add a devel
  httpd program compiled under linux
six: yum install apr-devel installed
  httpd program compiled under linux

Seven: We then execute ./configure --prefix = / apps / httpd24
  httpd program compiled under linux
eight:
  httpd program compiled under linux
  httpd program compiled under linux
  httpd program compiled under linux
nine: finally there is no error, you can execute the make -j 2
  httpd program compiled under linux
X: Finally, run make install and you're done
  httpd program compiled under linux
XI: see below figure It shows complete compiler installed.
  httpd program compiled under linux
12:
  httpd program compiled under linux
  httpd program compiled under linux
Thirteen: Open your browser and enter the ip address can open a web page.
  httpd program compiled under linux
14: We see the file on a web page which
  httpd program compiled under linux
five: With this folder we can set the boot http service.
  httpd program compiled under linux

Guess you like

Origin blog.51cto.com/13449039/2401542