Skip to content

Instantly share code, notes, and snippets.

@cdcarson
Last active August 29, 2015 13:56
Show Gist options
  • Save cdcarson/9026481 to your computer and use it in GitHub Desktop.
Save cdcarson/9026481 to your computer and use it in GitHub Desktop.
# get the latest WordPress
curl http://wordpress.org/latest.tar.gz -o latest.tar.gz
# extract the archive
tar -zxvf latest.tar.gz
# move it to the root...
mv wordpress/* ./
# delete the latest.tar.gz archive and
# the wordpress directory...
rm latest.tar.gz
rmdir wordpress/
# we'll need the mu-plugins directory later...
mkdir wp-content/mu-plugins
# set up ownership and permissions...
cd ../
sudo chown -R chris:webdev myapp/
sudo chmod -R g+rwx myapp/
cd myapp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment