Install and Configure Apache Server in Linux


title: Install and Configure Apache Server in Linux

Apache HTTP Server, colloquially called Apache, is free and open-source
cross-platform web server software.
Apache is developed and maintained by an
open community of developers under the auspices of the Apache Software Foundation.

Install and Configure Apache Server in Linux

Step 1: Install Apache Server

yum install httpd

Step 2: Configuring http web sever

cd /etc/httpd/conf.d

Step 3: Create a custom configration file with .conf extension.

vim *.conf

Step 4: Starting Apache Server

systemctl start httpd.service

Step 5: Automatically Start Apache Server when Operating System start.

systemctl enable httpd.service

Step 6: Add firewall permission.

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

This article needs improvement. You can help improve this article. You can also write similar articles and help the community.