From OpenWetWare
Jump to: navigation, search



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


  • 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:
# ./
until you get rid of all errors
  • extensions/wikitex/ must be readable by <apache-user> since this account is used to run the decruft script via the cron job (wikitex.cron)