Apache

Configure the firewall

Add the services for http and https to the firewall.

root$

firewall-cmd --permanent --zone=public --add-service=http

root$

firewall-cmd --permanent --zone=public --add-service=https

root$

firewall-cmd --reload

Install Apache with SSL support

At this point it is also a good idea to install the bzip2 compression package.

root$

yum install httpd mod_ssl bzip2

Add ServerName to httpd.conf

Open /etc/httpd/conf/httpd.conf and add the following line to the configuration file: 

ServerName server.your-domain.com

Enable and start Apache

root$

systemctl enable httpd

root$

systemctl start httpd

Kommentare

Was ist die Summe aus 1 und 5?