Nginxnix installation method

Source: Internet
Author: User
: 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.

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.