Home > Operation and Maintenance > Nginx > The correct way to install nginx under linux

The correct way to install nginx under linux

王林
Release: 2020-11-25 16:33:18
forward
2818 people have browsed it

The correct way to install nginx under linux

The correct steps to install nginx under Linux are as follows:

(Related recommendations: nginx tutorial)

(1) Download PCRE installation package

wget http://downloads.sourceforge.net/project/pcre/pcre/8.35/pcre-8.35.tar.gz
Copy after login

(2) Unzip the installation package

tar zxvf pcre-8.35.tar.gz
Copy after login

(3) Enter the installation package directory

cd pcre-8.35
Copy after login

(4) Build nginx from source code without adding other modules

./configure
Copy after login

(5) Compile

make
Copy after login

(6) Install

make install
Copy after login

(7) Check pcre version

pcre-config --version
Copy after login

The above is the detailed content of The correct way to install nginx under linux. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:csdn.net
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