Environment required for installation

Nginx yes C Language Development , It is suggested that Linux Up operation , In the installation nginx Also install the following environment packs before the installation

One . gcc install
install nginx You need to compile the source code downloaded from the official website first , Compile dependencies gcc Environmental Science , without gcc Environmental Science , You need to install :

 yum install gcc-c++

Two . PCRE pcre-devel install
PCRE(Perl Compatible Regular Expressions) It's a Perl library , Include perl Compatible regular expression library .nginx Of http Module USES pcre To parse regular expressions , So you need to be in linux Installation on pcre library ,pcre-devel It's using pcre Development of a secondary development library .nginx We also need this library . command :

yum install -y pcre pcre-devel

3、 ... and . zlib install
zlib The library provides many ways to compress and decompress , nginx Use zlib Yes http The contents of the package go on gzip , So you need to be in Centos Installation on zlib library .

yum install -y zlib zlib-devel

Four . OpenSSL install
OpenSSL Is a strong secure socket layer password library , Including the main cipher algorithm 、 Common key and certificate encapsulation management functions and SSL agreement , And provide rich applications for testing or other purposes .
nginx Not only support http agreement , And support https( That is to say ssl Over protocol transmission http), So you need to be in Centos install OpenSSL library .

yum install -y openssl openssl-devel

centos7 install nginx More articles on the necessary environment

  1. 【Nginx install 】CentOS7 install Nginx And configuration

    [Nginx install ]CentOS7 install Nginx And configuration 2018 year 03 month 05 Japan 11:07:21 Read the number :7073 Nginx Is a lightweight web server . Reverse proxy . Compare with Apache.lighttp ...

  2. centos System compilation and installation nginx+php Environment plus independence mysql course

    The installation I've seen before nginx+php The environment is full of mysql Database , This is because many webmasters are nginx+php+mysql It's all on the same server , So today we are dealing with it alone , One is nginx+php Environmental Science , then mys ...

  3. linux(centos7) install nginx

    linux(centos7) install nginx 1.14(stable) edition Nginx The common structure of configuration files from the outside to the inside is 「http」「server」「location」 wait , The default inheritance relationship is from the outside to the inside , ...

  4. Linux Installation on Nginx Dependent environment and Library 、Nginx install ,Nginx The service command

    install Nginx Dependent environment and Library .Nginx install ,Nginx The service command because Nginx The official offer is C Source code , Compile by yourself , Therefore, you need to have the environment and library on which to compile install gcc yum -y insta ...

  5. VMware In the virtual machine CentOS7 install Nginx After this machine can not access the solution

    VMware In the virtual machine CentOS7 install Nginx After this machine can not access the solution stay linux Installation on nginx Please refer to :Linux Centos7 install nginx In the virtual machine centos7 Installation on nginx And ...

  6. CENTOS7 install R Language environment

    CENTOS7 install R Language environment yum install texinfo.x86_64 yum install texlive.x86_64 cd /opt wget https://mirrors.tu ...

  7. centos7 install nginx And configure the front end environment

    Server environment :CentOS Linux release 7.5.1804 (Core) The installation path :/usr/local 1. Install compilation tools and library files ( New server , If it is not installed, it needs to be installed first ) # yum -y i ...

  8. centos7 install nginx And configuration web Front end environment .

    1. install nginx -sudo yum install nginx 2. start-up nginx - systemctl start nginx 3. modify nginx Path configuration ,/etc/nginx/nginx.c ...

  9. Centos7 install Nginx actual combat

    One . background I'm writing some projects of my own recently , Yes nginx, So do it yourself Centos7 Installation on nginx, Here are the installation steps . Two . Basic concepts and application scenarios 1. What is? nginx Nginx It's a utility model C The high level of language development ...

Random recommendation

  1. [redis] windwos Under the installation and use of redis

    A good entry learning article :Redis Study Redis It's a kind of nosql database , It is often used as cache in development . 1. Download address : Lower version download address :https://github.com/dmajkic/redis/dow ...

  2. 【 turn 】 use PowerDesigner Reverse engineer an existing database E-R chart

    from :http://www.cnblogs.com/oceanshare/archive/2010/02/10/1667071.html Because an earlier project didn't output as E-R chart , I'm right ...

  3. URAL(timus)1709 Penguin-Avia( Union checking set )

    Penguin-Avia Time limit: 1.0 secondMemory limit: 64 MB The Penguin-Avia airline, along with other An ...

  4. js Create styles dynamically : style and link

    js Create styles dynamically : style and link ie6 You can't document.createElement('style') then append To head In the label . So I found such a good article There are many that offer dynamic creation ...

  5. CAN Bus learning record 3 : A popular explanation of active and passive errors in the bus

    First of all, it is suggested that the widely used " Active error " and " Passive error " Change the concept to " Take the initiative to report errors " and " Passive error reporting ". 1. Active error reporting site Just check for errors , ...

  6. 【XSY2668】 Ranking statistics DP

    Title Description Give you a length of \(n\) Permutation \(a\), Choose two numbers at a time , Exchange these two numbers ( These two numbers can be the same ). All in all \(k\) Time . Finally, we need to count the number of positions in the sequence \(i\) Satisfy \(\max_{j\leq i ...

  7. 4,EasyNetQ-Request Response

    EasyNetQ The request is also supported / Response messaging patterns . This makes the client / Server applications make it easy , The client / The server application makes a request to the server on the client side , Then process the request and return the response . With the traditional RPC The mechanism is different ,EasyNetQ ...

  8. use layer Plug-in implementation tp3.2 paging

    It mainly needs to use  /layer/layer.js   This , Now one. tp Front end view /article/index.html <!DOCTYPE html> <html lang=" ...

  9. ASP.NET Core Learning summary (3)

    Let's focus on this InvokeInnerFilterAsync. protected override async Task InvokeInnerFilterAsync() { var next = ...

  10. spring Complete automatic assembly

    Give Way spring Complete automatic assembly Autowiring The solution label is javaBean It's hard to maintain when it's injected Here are a few autowire type Explanation : 1,byname: Try to find and automatically assemble properties in the container ...