Home  >  Article  >  Backend Development  >  Configuration and installation of nginx under ubuntu

Configuration and installation of nginx under ubuntu

WBOY
WBOYOriginal
2016-08-08 09:26:22925browse

Under root privileges

Compilation environment configuration

1. First install the GCC compiler:

<code>apt-<span>get</span> install gcc</code>
<code>apt-<span>get</span> install g++</code>

2. Install the pcre library

<code>apt<span>-get</span> install libpcre3 libpcre3<span>-dev</span></code>

3. Install the zlib library

<code><span>**</span>apt<span>-get</span> install zlib1g<span>-dev</span><span>**</span></code>

4. Install the OpenSSL development library

<code>apt<span>-get</span> install openssl libssl<span>-dev</span></code>

—————————not end – to be continue————————

The above introduces the configuration and installation of nginx under ubuntu, including the relevant aspects. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
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