Created
April 10, 2018 18:45
-
-
Save mikepfeiffer/aae32bc7c7e3018e2463233542152436 to your computer and use it in GitHub Desktop.
Download and Deploy WordPress Application Code for Apache
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 | |
wget https://wordpress.org/latest.tar.gz | |
tar -xzf latest.tar.gz | |
cp -r wordpress/* /var/www/html/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Full version, because second line uses latest.tar.gz.
wget https://wordpress.org/wordpress-5.1.1.tar.gz
tar -xzf wordpress-5.1.1.tar.gz
cp -r wordpress/* /var/www/html/