#!/bin/bash yum install -y httpd service httpd start chkconfig httpd on echo "hello world" > /var/www/html/index.html systemctl enable httpd