Skip to content

Instantly share code, notes, and snippets.

@CaroManel
Created January 14, 2016 04:59
Show Gist options
  • Save CaroManel/a3b8f2ff2ce7fcb7a1c9 to your computer and use it in GitHub Desktop.
Save CaroManel/a3b8f2ff2ce7fcb7a1c9 to your computer and use it in GitHub Desktop.
Quick Wordpress installation,
#!/bin/sh
#
# Quick WP installation
#
# Getting last version of WP
wget --quiet http://wordpress.org/latest.zip;
#unzip quietly
unzip -q latest.zip;
#creates directory
mkdir $1
#move wp files to current directory
mv wordpress/* $1;
#cleaning up
rm latest.zip;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment