Difference between revisions of "Taking the Wiki Offline"
Robert Howie (talk | contribs) |
Robert Howie (talk | contribs) |
||
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 | |
− | + | 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 |
Revision as of 14:59, 10 April 2019
- Install mwoffliner: https://github.com/openzim/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