Skip to content

Instantly share code, notes, and snippets.

@j0lvera
Created December 20, 2013 06:22
Show Gist options
  • Save j0lvera/8051105 to your computer and use it in GitHub Desktop.
Save j0lvera/8051105 to your computer and use it in GitHub Desktop.
Install WordPRess
#!/bin/bash -e
# Install WordPress and clean the folder
echo "======================"
echo " Installing WordPress "
echo "======================"
echo ""
# Download the files (cURL works fine here too)
wget http://wordpress.org/latest.tar.gz
# Unpack
tar xfz latest.tar.gz
# Move files out
mv wordpress/* .
# Remove leftlovers
rm latest.tar.gz && rm -rf wordpress
echo "================================"
echo " Oh yay, WordPress is installed "
echo "================================"
echo ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment