Created
September 21, 2016 22:46
-
-
Save aapis/58956cdfeae9aecc765726ca3f55f254 to your computer and use it in GitHub Desktop.
Install the latest Wordpress in the current working directory
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
| installwp(){ | |
| echo "Downloading Wordpress..." | |
| wget http://wordpress.org/latest.zip | |
| echo "Download complete, unzipping..." | |
| unzip latest.zip | |
| echo "Moving files..." | |
| mv wordpress/* . | |
| echo "Cleaning up..." | |
| rm -rf wordpress/ | |
| rm latest.zip | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment