Difference between revisions of "Taking the Wiki Offline"

From DFN Wiki
Jump to: navigation, search
Line 1: Line 1:
 
# Install mwoffliner: https://github.com/openzim/mwoffliner
 
# Install mwoffliner: https://github.com/openzim/mwoffliner
 
# Modify the <code>Unix socket</code> section of the redis-server config (<code>/etc/redis/redis.conf</code>) so that the unix socket is created and has the correct permissions.
 
# Modify the <code>Unix socket</code> section of the redis-server config (<code>/etc/redis/redis.conf</code>) so that the unix socket is created and has the correct permissions.
unixsoxket /dev/shm/redis.sock
+
  unixsoxket /dev/shm/redis.sock
unixsocketperm 777
+
  unixsocketperm 777
 
# Run mwoffliner
 
# Run mwoffliner
mwoffliner --mwUrl=https://wiki.dfn.net.au --adminEmail=-adminEmail=foo@bar.net --mwApiPath=/api.php --mwWikiPath=/ --mwModulePath=/load.php
+
  mwoffliner --mwUrl=https://wiki.dfn.net.au --adminEmail=-adminEmail=foo@bar.net --mwApiPath=/api.php --mwWikiPath=/ --mwModulePath=/load.php

Revision as of 14:59, 10 April 2019

  1. Install mwoffliner: https://github.com/openzim/mwoffliner
  2. Modify the Unix socket section of the redis-server config (/etc/redis/redis.conf) so that the unix socket is created and has the correct permissions.
  unixsoxket /dev/shm/redis.sock
  unixsocketperm 777
  1. Run mwoffliner
  mwoffliner --mwUrl=https://wiki.dfn.net.au --adminEmail=-adminEmail=foo@bar.net --mwApiPath=/api.php --mwWikiPath=/ --mwModulePath=/load.php