Difference between revisions of "CentOS 7.x Install nginx"

From Notes_Wiki
(Created page with "<yambe:breadcrumb self="Install ngnix">CentOS_7.x_nginx|Nginx</yambe:breadcrumb> =CentOS 7.x install nginx= To install nginx use: #Create <tt>/etc/yum.repos.d/nginx.repo</tt>...")
 
m
 
Line 1: Line 1:
<yambe:breadcrumb self="Install ngnix">CentOS_7.x_nginx|Nginx</yambe:breadcrumb>
[[Main Page|Home]] > [[CentOS]] > [[CentOS 7.x]] > [[CentOS 7.x Web servers|Web servers]] > [[CentOS 7.x nginx|nginx]] > [[CentOS 7.x Install nginx]]
=CentOS 7.x install nginx=


To install nginx use:
To install nginx use:
Line 15: Line 14:
#:: yum -y install nginx
#:: yum -y install nginx
#:</pre>
#:</pre>
[[Main Page|Home]] > [[CentOS]] > [[CentOS 7.x]] > [[CentOS 7.x Web servers|Web servers]] > [[CentOS 7.x nginx|nginx]] > [[CentOS 7.x Install nginx]]

Latest revision as of 15:45, 28 August 2022

Home > CentOS > CentOS 7.x > Web servers > nginx > CentOS 7.x Install nginx

To install nginx use:

  1. Create /etc/yum.repos.d/nginx.repo' with following contents:
    [nginx]
    name=nginx repo
    baseurl=http://nginx.org/packages/centos/7/$basearch/
    gpgcheck=0
    enabled=1
  2. Install nginx from repository using
    yum -y install nginx



Home > CentOS > CentOS 7.x > Web servers > nginx > CentOS 7.x Install nginx