#!/bin/bash hostnamectl --static set-hostname VPC1-EC2 yum -y install tcpdump httpd service httpd start chkconfig httpd on echo "

APM Server

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