#!/bin/bash # Use this for your user data (script from top to bottom) # install httpd (Linux 2 version) yum update -y yum install -y httpd systemctl start httpd systemctl enable httpd echo "

Welcome To My Website from $(hostname -f)

" > /var/www/html/index.html