: This article describes how to install Nginxnix. For more information about PHP tutorials, see. Note: without any background, it is difficult to install software directly!
For more information about how to install nginx, see nginx.org "installing nginx" page.
The installation method for Nginx varies with operating systems. Pay attention to this. Here we will only introduce the installation in Linux.
The nginx package can be used by the following architectures and versions:
RHEL/Centos
Version |
Supported platforms |
5.x |
X86_64, i386 |
6.x |
X86_64, i386 |
7. x |
X86_64 |
Deban
Version |
Code Name |
Supported platforms |
7. x |
Wheezy |
X86_64, i386 |
8. x |
Jessie |
X86_64, i386 |
Ubuntu
Version |
Codename |
Supported Platforms |
12.04 |
Precise |
X86_64, i386 |
14.04 |
Trusty |
X86_64, i386, aarch64/arm64 |
15.04 |
Vivid |
X86_64, i386 |
15.10 |
Wily |
X86_64, i386 |
SLES
Version |
Supported Platforms |
12 |
X86_64 |
In Centos architecture, you can use the following methods to install yum:
Stable version installation
You need to fill in the yum repository and construct a file named "/etc/yum. repos. d/nginx. repo". the file must be filled in as follows:
[nginx]name=nginx repobaseurl=http://nginx.org/packages/OS/OSRELEASE/$basearch/gpgcheck=0enabled=1
Replace the OS with rhel or centos and OSRELEASE with version 5, 6, or 7, corresponding to version 5. x, version 6. x, and version 7. x respectively.
'). AddClass ('pre-numbering '). hide (); $ (this ). addClass ('Has-numbering '). parent (). append ($ numbering); for (I = 1; I <= lines; I ++) {$ numbering. append ($ ('
'). Text (I) ;}; $ numbering. fadeIn (1700) ;}) ;}; script
The above describes how to install Nginx nix, including some content, and hope to be helpful to anyone interested in PHP tutorials.