Wednesday, July 5, 2017

Linux: Install Nginx on Fedora 25 Server Edition

1. Update system.

dnf update


2. Install Nginx.

dnf install nginx



3. Configure Nginx.

systemctl start nginx.service
systemctl enable nginx.service
firewall-cmd --permanent --add-service=http
firewall-cmd --permanent --add-service=https



4. Test in browser.

No comments:

Post a Comment