Home  >  Article  >  Backend Development  >  Centos7 yum method to install nginx

Centos7 yum method to install nginx

WBOY
WBOYOriginal
2016-08-08 09:24:281055browse

centos7 yum method to install nginx

There is no nginx rpm package in the centos7 system library by default, so we need to update the rpm dependency library first

(1) Use yum to install nginx Requires including Nginx’s library, installing Nginx’s library

                                                                                Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm (2) Use the following command Install nginx​​​​​


Original author: blog.csdn.net /li_yong_kuan


Reference link:

Nginx installation guide: http://nginx.org/en/linux_packages.html

Other blogs: http://blog.hexu.org/archives/2047.shtml



The above introduces the centos7 yum method to install nginx, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.


Statement:
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
Previous article:php Composer accelerationNext article:php Composer acceleration