Changes

From SME Server
Jump to navigationJump to search
Line 68: Line 68:  
  cd ~
 
  cd ~
 
  mkdir -p /root/dokuwiki
 
  mkdir -p /root/dokuwiki
 +
cd /root/dokuwiki
 
  wget https://download.dokuwiki.org/out/dokuwiki-c98g4519b5d16cfdee29a855275c5759f.tgz
 
  wget https://download.dokuwiki.org/out/dokuwiki-c98g4519b5d16cfdee29a855275c5759f.tgz
   Line 75: Line 76:  
  tar -zxvf dokuwiki-2024-02-06a.tgz
 
  tar -zxvf dokuwiki-2024-02-06a.tgz
 
  cd dokuwiki
 
  cd dokuwiki
  chown -R apache:www
+
  chown -R apache:www *
    
Backup
 
Backup
   −
  mkdir /root/dokuwiki-backup
+
  mkdir -p /root/dokuwiki-backup/etc/dokuwiki
 +
mkdir -p /root/dokuwiki-backup/var/lib/dokuwiki
 +
 
 
  cp -r /etc/dokuwiki/* /root/dokuwiki-backup/etc/dokuwiki
 
  cp -r /etc/dokuwiki/* /root/dokuwiki-backup/etc/dokuwiki
 
  cp -r /var/lib/dokuwiki/* /root/dokuwiki-backup/var/lib/dokuwiki
 
  cp -r /var/lib/dokuwiki/* /root/dokuwiki-backup/var/lib/dokuwiki
   −
Copy file over withouth trashing the remote symlinks to /etc/and /var
+
Copy file over without trashing the remote symlinks to /etc/and /var
    
  rsync -av -K /root/dokuwiki/dokuwiki/* /usr/share/dokuwiki/
 
  rsync -av -K /root/dokuwiki/dokuwiki/* /usr/share/dokuwiki/
Line 99: Line 102:     
I may try and build an RPM to update this way at some stage.
 
I may try and build an RPM to update this way at some stage.
      
=== Uninstall ===
 
=== Uninstall ===

Navigation menu