1. Install
yum install -y nginx
2. Start nginx
systemctl start nginx
3. Restart nginx
systemctl restart nginx
4. Set the boot from the start nginx
systemctl enable nginx
5. modify the configuration file (configuration file need to restart after modification)
we /etc/nginx/nginx.conf