## 摘抄nginx官网文档 URL:http://nginx.org/en/linux_packages.html#stable To set up the yum repository for RHEL/CentOS, create the file named /etc/yum.repos.d/nginx.repo with the following contents: [nginx] name=nginx repo baseurl=http://nginx.org/packages/c…
Nginx安装 cd /usr/local/src (http://nginx.org/en/download.html) wget http://nginx.org/download/nginx-1.13.9.tar.gz tar zxf nginx-1.12.1.tar.gz ./configure --prefix=/usr/local/nginx make && make install vim /etc/init.d/nginx //复制如下内容 #!/bin/bash # c…