Nginx Nix under Installation method

Source: Internet
Author: User
Special note: In the absence of any introduction to the background, direct hair How to install the software is bullying!

This article refers to the installation introduction provided by Nginx.org, Link: nginx.org "Installing Nginx" page

In different operating systems, the way to install Nginx is also different, even in the same operating system, different versions of the installation of the same way. Extra attention is needed here. This is just a description of the installation under Linux.

Nginx packages can be used by the following schemas and versions:

Rhel/centos

version Support Platform
5.x X86_64,i386
6.x X86_64,i386
7.x x86_64

Deban

version Code Name Support Platform
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 the CentOS architecture, in order to be able to install with Yum, it can be installed in the following ways:

Stable version Installation

Need to populate the stores of Yum, construct a file called "/etc/yum.repos.d/nginx.repo", the file needs to fill in the following:

[nginx]name=nginx repobaseurl=http://nginx.org/packages/OS/OSRELEASE/$basearch/gpgcheck=0enabled=1

Replace the OS with Rhel or CentOS and replace the osrelease with 5, 6, or 7, respectively, for the 5.x, 6.x, and 7.x versions.

'). addclass (' pre-numbering '). Hide (); $ (this). addclass (' has-numbering '). Parent (). append ($numbering); for (i = 1; i <= lines; i++) {$numbering. Append ($ ('
  • '). Text (i)); }; $numbering. FadeIn (1700); }); });

    The above describes the Nginx nix under the installation method, including the aspects of the content, I hope that the PHP tutorial interested in a friend helpful.

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