Configuration and installation of nginx under ubuntu

WBOY
Release: 2016-08-08 09:26:22
Original
985 people have browsed it

Under root privileges

Compilation environment configuration

1. First install the GCC compiler:

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

2. Install the pcre library

<code>apt<span>-get</span> install libpcre3 libpcre3<span>-dev</span></code>
Copy after login

3. Install the zlib library

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

4. Install the OpenSSL development library

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

—————————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.

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