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