#!/bin/bash yum install -y httpd
yum install stress-ng
systemctl start httpd
systemctl enable httpd
usermod -a -G apache ec2-user
chown -R ec2-user:apache /var/www
chmod 2775 /var/www
find /var/www -type d -exec chmod 2775 {} \;
find /var/www -type f -exec chmod 0664 {} \;
echo "<html><body><h1>Hello Word!</h1></body></html>" > /var/www/html/index.html
Tidak ada komentar:
Posting Komentar