User Tools

Site Tools


build:wordpress

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
build:wordpress [2015/12/16 21:38]
Admin [Upgrading] Upgrade to WordPress 4.4
build:wordpress [2017/01/27 19:58] (current)
Admin Upgrade to WordPress 4.7.2
Line 265: Line 265:
  
 <code bash> <code bash>
-WORDPRESS_VERSION_OLD=3.8.1 +WORDPRESS_VERSION_OLD=4.5.3 
-WORDPRESS_VERSION=4.4+WORDPRESS_VERSION=4.7.2
 wget http://​wordpress.org/​wordpress-$WORDPRESS_VERSION.tar.gz wget http://​wordpress.org/​wordpress-$WORDPRESS_VERSION.tar.gz
 tar xfz wordpress-$WORDPRESS_VERSION.tar.gz tar xfz wordpress-$WORDPRESS_VERSION.tar.gz
Line 289: Line 289:
 Point each site to the new version: Point each site to the new version:
 <code bash> <code bash>
-for SITE in blog.craigbuchek.com blog.boochtek.com ​toread.craigbuchek.com stllug.sluug.org; do+for SITE in blog.craigbuchek.com blog.boochtek.com;​ do
   cd /​var/​www/​$SITE   cd /​var/​www/​$SITE
   rm -f public   rm -f public
-  ln -/​usr/​local/​share/​wordpress/​$WORDPRESS_VERSION public +  ln -sf /​usr/​local/​share/​wordpress/​$WORDPRESS_VERSION public 
-  ln -/​var/​local/​share/​wordpress/​$WORDPRESS_VERSION/​wp-content/​uploads uploads+  ln -sf /​var/​local/​share/​wordpress/​$WORDPRESS_VERSION/​wp-content/​uploads uploads
 done done
 </​code>​ </​code>​
build/wordpress.1450323528.txt.gz · Last modified: 2015/12/16 21:38 by Admin