814 B
814 B
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