User Tools

Site Tools


build:wiki

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:wiki [2009/08/14 18:02]
SLUUG Administration
build:wiki [2011/01/12 16:39] (current)
SLUUG Administration Upgrade to DokuWiki 2010-11-07. (CMB)
Line 1: Line 1:
 ====== DokuWiki ====== ====== DokuWiki ======
  
-These instructions detail how to install [[http://​wiki.splitbrain.org/​wiki:​dokuwiki | DokuWiki]] on our Debian GNU/Linux system. We're currently running the 2009-02-14 version of DokuWiki.+These instructions detail how to install [[http://​wiki.splitbrain.org/​wiki:​dokuwiki | DokuWiki]] on our Debian GNU/Linux system. We're currently running the 2010-11-07 version of DokuWiki.
  
 ===== Requirements ===== ===== Requirements =====
Line 121: Line 121:
 ===== Upgrading ===== ===== Upgrading =====
  
-Here are the steps taken to upgrade to version ​2009-02-14.+Here are the steps taken to upgrade to version ​2010-11-07.
  
 First, read the [[http://​www.dokuwiki.org/​changes | changes made in the new release]]. Make sure you follow any directions specific to the new release. First, read the [[http://​www.dokuwiki.org/​changes | changes made in the new release]]. Make sure you follow any directions specific to the new release.
Line 128: Line 128:
 <code bash> <code bash>
 cd /​home/​web/​wiki.sluug.org cd /​home/​web/​wiki.sluug.org
-export OLD_VERSION=2008-05-05 +export OLD_VERSION=2009-12-25 
-tar cfz /​var/​backups/​web/​wiki.sluug.org.BACKUP-`date +%Y%m%d`.tgz dokuwiki-$OLD_VERSION+sudo tar cfz /​var/​backups/​web/​wiki.sluug.org.BACKUP-`date +%Y%m%d`.tgz dokuwiki-$OLD_VERSION
 </​code>​ </​code>​
  
Line 135: Line 135:
 <code bash> <code bash>
 cd /​home/​web/​wiki.sluug.org cd /​home/​web/​wiki.sluug.org
-export VERSION=2009-02-14+export VERSION=2010-11-07
 wget http://​www.splitbrain.org/​_media/​projects/​dokuwiki/​dokuwiki-$VERSION.tgz wget http://​www.splitbrain.org/​_media/​projects/​dokuwiki/​dokuwiki-$VERSION.tgz
 tar xfz dokuwiki-$VERSION.tgz tar xfz dokuwiki-$VERSION.tgz
Line 158: Line 158:
 Delete the old cache and index, since they can be regenerated,​ and the formats may have changed between versions. We can also use the new help pages (in the wiki namespace), so we can delete them from the old site. Delete the old cache and index, since they can be regenerated,​ and the formats may have changed between versions. We can also use the new help pages (in the wiki namespace), so we can delete them from the old site.
 <code bash> <code bash>
-rm dokuwiki-$OLD_VERSION/​data/​cache/​* -rf +sudo rm dokuwiki-$OLD_VERSION/​data/​cache/​* -rf 
-rm dokuwiki-$OLD_VERSION/​data/​index/​* -rf +sudo rm dokuwiki-$OLD_VERSION/​data/​index/​* -rf 
-rm dokuwiki-$OLD_VERSION/​data/​pages/​wiki -rf+sudo rm dokuwiki-$OLD_VERSION/​data/​pages/​wiki -rf
 </​code>​ </​code>​
  
Line 203: Line 203:
  
 Once you're comfortable that the upgrade went OK, you can delete the directory for the previous version of DokuWiki. Once you're comfortable that the upgrade went OK, you can delete the directory for the previous version of DokuWiki.
-===== Enable ACLs and User Accounts ===== 
  
 +<code bash>
 +rm -rf dokuwiki-$OLD_VERSION
 +</​code>​
 +
 +===== Enable ACLs and User Accounts =====
 ==== This is a minimal implementation with a single account ==== ==== This is a minimal implementation with a single account ====
 === The sole purpose is to reduce defacement and overhead from recovery. === === The sole purpose is to reduce defacement and overhead from recovery. ===
Line 273: Line 277:
   - Use the "​Login"​ button, enter the username and password from above.   - Use the "​Login"​ button, enter the username and password from above.
   - The Edit buttons are now displayed and able to update this page.   - The Edit buttons are now displayed and able to update this page.
 +
 +For more information,​ see the
 +[[http://​wiki.splitbrain.org/​wiki:​acl | ACL documentation]].
 +
 ===== TODO ===== ===== TODO =====
  
Line 293: Line 301:
 ===== Credits ===== ===== Credits =====
  
-Initially installed, configured, and documented by Craig Buchek, 2005-09-10. Updated to newer versions on 2005-11-26, 2007-05-09, 2008-06-11, ​and 2009-02-19.+Initially installed, configured, and documented by Craig Buchek, 2005-09-10. 
 + 
 +Updated to newer versions on 2005-11-26, 2007-05-09, 2008-06-11, 2009-02-19, 2010-01-08.
build/wiki.1250290954.txt.gz · Last modified: 2009/08/14 18:02 by SLUUG Administration