Created
March 13, 2015 20:46
-
-
Save SPGB/80cc5df8044c9c6a5478 to your computer and use it in GitHub Desktop.
wordpress-setup
This file contains hidden or 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/sh | |
# wordpress-setup: Sets up a Wordpress instance on EC2 | |
# written by Sam Gallagher-Bishop - 2015 | |
echo "Starting Wordpress set up..." | |
sudo yum update -y | |
sudo yum install -y php php-mysql php-mbstring php-gd | |
wget https://wordpress.org/latest.tar.gz | |
tar -xzf latest.tar.gz | |
cd wordpress | |
sudo mv * /var/www/html/ | |
sudo chmod -R 2775 /var/www |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment