User Tools

Site Tools



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>
 wget http://​​wordpress-$WORDPRESS_VERSION.tar.gz wget http://​​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 ​; do+for SITE in;​ 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