Tech/Server Notes

From Stumptown Syndicate
< Tech
Revision as of 16:59, 17 July 2013 by Reid (Talk | contribs) (Added summary of services on animal.stumptownsyndicate.org)

Jump to: navigation, search

Servers

animal.stumptownsyndicate.org

This box hosts stumptownsyndiate.org and sites for many of our projects.

Upgrading WordPress

We handle WordPress upgrades for the Syndicate network using svn.

cd /var/www/stumptownsyndicate.org/public/wordpress

# Get the mysql credentials
head -n 30 wp-config.php

# Dump a backup of the WP database (you'll be prompted for the password that you just displayed)
mysqldump -u syndicate -p syndicate > ~/wordpress_backup_`date +%s`.sql

# Determine the current version of wordpress by looking at the URL provided by:
svn info

# Switch to the new version, replacing x.x.x with the desired version number
svn switch http://core.svn.wordpress.org/tags/x.x.x