CentOS 7.x Install nginx

From Notes_Wiki

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