#!/bin/bash
hostnamectl --static set-hostname VPC1-EC2
yum -y install tcpdump httpd
service httpd start
chkconfig httpd on
echo "<html><h1> APM Server</h1></html>" > /var/www/html/index.html
