Linux serverNETWORK ADMINISTRATIONS

How to install nginx on Centos 7

This video shows how to install nginx on Centos 7

INSTALLING NGINX ON CENTOS 7

# Install Nginx repository rpm to download the Nginx from the official site.

rpm -Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm

# Install Nginx

yum -y install nginx

# Start Nginx service

systemctl start nginx.service

# Flush Iptables

iptables -F

# Access IP address of your Centos 7

http://your-Centos-7

source

centos 7

Leave a Reply

Your email address will not be published. Required fields are marked *