OpenWetWare:Administration/Wikitex

From OpenWetWare

Jump to: navigation, search

References

Prerequisites

(for the beta from README in the wikitex distribution):

Installation

  • Create the user wikitex:
# useradd -M -s /sbin/nologin wikitex
  • To prevent legitimate files from exceeding the disk quota, set up a crontab to purge unused files.
# crontab -u <apache-user> wikitex.cron
  • Remove any WikiTeX cruft from /etc/sudoers, and issue:
# cat wikitex.sudoers >> /etc/sudoers
and then:
# visudo -c
If there are parse errors, run `visudo' and correct any mistakes.
  • Edit /usr/share/texmf/web2c/texmf.cnf, modifying the following variables:
shell_escape = f
openout_any = p
openin_any = p
  • as root, run:
# ./wikitex-audit.sh
until you get rid of all errors
  • extensions/wikitex/wikitex-decruft.sh must be readable by <apache-user> since this account is used to run the decruft script via the cron job (wikitex.cron)
Personal tools