Last active
August 6, 2019 12:15
-
-
Save amcginlay/e69be90364e80b828ea3c9ce4727c242 to your computer and use it in GitHub Desktop.
AWS EC2 MySQL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
yum update -y | |
yum install httpd php php-mysql -y | |
chkconfig httpd on | |
service httpd start | |
echo "<?php phpinfo();?>" > /var/www/html/index.php | |
cd /var/www/html | |
wget https://s3.amazonaws.com/acloudguru-production/connect.php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment