Skip to content

Instantly share code, notes, and snippets.

@aapis
Created September 21, 2016 22:46
Show Gist options
  • Select an option

  • Save aapis/58956cdfeae9aecc765726ca3f55f254 to your computer and use it in GitHub Desktop.

Select an option

Save aapis/58956cdfeae9aecc765726ca3f55f254 to your computer and use it in GitHub Desktop.
Install the latest Wordpress in the current working directory
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