Home > Backend Development > PHP Tutorial > Nginx learning -- installation and configuration

Nginx learning -- installation and configuration

WBOY
Release: 2016-07-29 09:04:28
Original
1054 people have browsed it

1> install
I used VirtualBox + Ubuntu to install Nginx.
First make sure the following libraries are installed.
a.gcc
b. pcre regular expression library
c.zlib
d.openssl
I just installed the pcre library manually.

<code>sudo apt<span>-get</span> update 
sudo apt<span>-get</span> install libpcre3 libpcre3<span>-dev</span>sudo apt<span>-get</span> install openssl libssl<span>-dev</span><span>*</span></code>
Copy after login

Compile and install:

<code>cd src目录
./configure
<span>make</span><span>make</span> install</code>
Copy after login

2>configure file
The configure file does a lot of the work behind the scenes.

').addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i ').text(i)); }; $numbering.fadeIn(1700); }); });

The above introduces Nginx learning - installation and configuration, including aspects of the content. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template