User Tools

Site Tools


computers:server:archon:slack13x64

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
computers:server:archon:slack13x64 [2010/06/24 14:38] davidcomputers:server:archon:slack13x64 [2012/12/06 22:31] (current) – [dokuwiki] david
Line 77: Line 77:
   * [[http://coppermine-gallery.net/]] Coppermine Gallery looks to be a good software set for putting up images.   * [[http://coppermine-gallery.net/]] Coppermine Gallery looks to be a good software set for putting up images.
  
 +==== dokuwiki ====
 +
 +=== latest upgrade ===
 +
 + --- //[[david@lattice.net|David Lloyd Rabine]] 2012/12/06 17:30//
 +
 +All of this done as root:
 +
 +  * move the directory to your unzip path <code>
 +cd /home/david/public_html
 +mv wiki dokuwiki-2012-10-13
 +tar -zxvf dokuwiki-2012-10-13.tgz
 +</code>
 +  * rm the install.php <code>
 +rm dokuwiki-2012-10-13/install.php
 +</code>
 +  * set permissions properly <code>
 +chgrp -R apache dokuwiki-2012-10-13/conf/
 +chmod -R g+w dokuwiki-2012-10-13/conf/
 +chgrp -R apache dokuwiki-2012-10-13/data/
 +chmod -R g+w dokuwiki-2012-10-13/data/
 +</code>
 +  * move the wiki back <code>
 +mv dokuwiki-2012-10-13 wiki
 +</code>
 +  * clear the cache <code>
 +touch wiki/conf/local.php
 +</code>
 +
 +=== upgrade ===
 +
 +  - Make a backup of the current wiki <code>
 +mkdir ~/public_html/wikibackups/20110612
 +rsync -vaP ~/public_html/wiki/ ~/public_html/wikibackups/20110612/
 +</code>
 +  - Download the latest version <code>
 +cd ~/down/dokuwiki/
 +</code>
 +  - Uncompress the latest version right on top of the current one <code>
 +cd ~/public_html/wiki
 +tar -xzvf ~/down/dokuwiki/dokuwiki-xxxx-xx-xx.tgz --strip-components=1
 +</code>
 +  - Remove the "install" page <code>
 +rm ~/public_html/wiki/install.php
 +</code>
 +  - Touch the local configuration (which invalidates your cache) <code>
 +touch ~/public_html/wiki/conf/local.php
 +</code>
 +  - Remove files as directed.  I have my permissions set wrong so had to sudo this to make it happen.  Paste the list of files, and use the shell commands provided to remove the extra files.
 ===== mysql ===== ===== mysql =====
  
computers/server/archon/slack13x64.1277390311.txt.gz · Last modified: 2010/06/24 14:38 by david