Web Server

From Bibliotheca Anonoma
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Apache

Nginx

CentOS 7

  • HTML Directory - /usr/share/nginx/html
  • Nginx Configuration - /etc/nginx/nginx.conf

First, enable the EPEL repository:

sudo yum install epel-release

Next, install Nginx.

sudo yum install nginx

Finally, start nginx.

sudo systemctl start nginx

If you have a firewall active (which you should), enable HTTP and HTTPS access. Here's how for Firewall#firewalld:

sudo firewall-cmd --permanent --zone=public --add-service=http 
sudo firewall-cmd --permanent --zone=public --add-service=https
sudo firewall-cmd --reload

https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-centos-7

Hiawatha

http://dotbalm.org/why-i-use-hiawatha-webserver/