007 Source package installation

Source package installation

  • It normally takes three steps
    1. ./configure,cmake automatic detection linux system and related software environment, or if there are libraries compile the source code package.
    2. make compiled (GCC compiler system must have a)
    3. make install installation
  • Enterprise installation nginx
    1. wget to download the required installation package
    2. After entering decompression,. / Configure --help you can view the help
    3. Error: error: HTTP rewrite Module The requires at The Library at The PCRE. Solution: install pcre-devel solve the problem yum -y install pcre-devel
    4. 报错:the HTTP gzip module requires the zlib library. 解决:yum install -y zlib-devel
    5. ./configure --prefix=/usr/local/nginx 、 make 、make install 完成

Guess you like

Origin blog.csdn.net/hyf132456/article/details/93737656