How Do You Install Apache Web Server with CentOS/RHEL/Fedora?

Problem scenario
You want to install Apache web server on a CentOS, Red Hat Enterprise Linux or Fedora server.  What do you do to install it and have the service start running?

Solution
Run these commands:
sudo yum -y update
sudo yum -y install httpd
sudo service httpd start

Leave a comment

Your email address will not be published.