Example


Last updated


Last updated
!/bin/bash
yum install httpd -y
service httpd start
chkconfig httpd on
mkdir /var/www/html/bye
echo "Bye from ec2" > /var/www/html/bye/index.html
echo "Configured successfully"!/bin/bash
yum install httpd -y
service httpd start
chkconfig httpd on
mkdir /var/www/html/hi
echo "Bye from ec2" > /var/www/html/bye/index.html
echo "Configured successfully"