Difference between revisions of "Taking the Wiki Offline"
Robert Howie (talk | contribs) (Tag: visualeditor) |
Robert Howie (talk | contribs) |
||
Line 4: | Line 4: | ||
=== Set Up redis-server for mwoffliner === | === Set Up redis-server for 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. | |
− | + | unixsoxket /dev/shm/redis.sock | |
− | + | unixsocketperm 777 | |
− | + | Run mwoffliner | |
− | + | mwoffliner --mwUrl=https://wiki.dfn.net.au --adminEmail=-adminEmail=foo@bar.net --mwApiPath=/api.php --mwWikiPath=/ --mwModulePath=/load.php |
Revision as of 15:01, 10 April 2019
Install mwoffliner
Following the instructions here: https://github.com/openzim/mwoffliner.
Set Up redis-server for mwoffliner
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
Run mwoffliner
mwoffliner --mwUrl=https://wiki.dfn.net.au --adminEmail=-adminEmail=foo@bar.net --mwApiPath=/api.php --mwWikiPath=/ --mwModulePath=/load.php