How to Insall Apache Web Server (HTTP) on linux (Centos / Redhat ) Step by Step Method

The commands you need to use to follow the Apache tutorial are

#yum install httpd or dnf install httpd

#systemctl enable httpd.service

#systemctl start httpd.service

#firewall-cmd –permanent –add-service=http
OR
#firewall-cmd –permanent –add-port=80/tcp

#firewall-cmd –reload

#cd /var/www/html/

#vim index.html

#systemctl restart httpd.service

source by linux sri lanka

linux web server

Léa LOPEZ

Léa LOPEZ, Telecom System Administrator, Ambala College of Engineering and Applied Research, Ambala (INDIA)

Leave a Reply