Trac at job4: Difference between revisions

From JoBaPedia
Jump to navigation Jump to search
Line 22: Line 22:
* /home/joachim/Dokumente/trac/users.htdigest
* /home/joachim/Dokumente/trac/users.htdigest
* /home/joachim/Dokumente/trac/README.users.htdigest
* /home/joachim/Dokumente/trac/README.users.htdigest
htdigest /home/joachim/Dokumente/trac/users.htdigest 'Joachim privat' julian

Revision as of 16:48, 12 January 2022

Installation

  • enable python2 for apache
  • Install tracd in /usr/local/bin
    • sudo pip2 install Trac?
  • Create wiki in /home/joachim/Dokumente/trac
  • Autostart
job4:/etc/systemd/system # cat trac.service 
[Unit]
Description=Trac Wiki

[Service]
Type=simple
User=joachim
ExecStart=/usr/bin/python2 /usr/local/bin/tracd -s --port 8000 --auth='*,/home/joachim/Dokumente/trac/users.htdigest,Joachim privat' trac
WorkingDirectory=/home/joachim/Dokumente/
Restart=on-failure

[Install]
WantedBy=multi-user.target

Users

  • /home/joachim/Dokumente/trac/users.htdigest
  • /home/joachim/Dokumente/trac/README.users.htdigest
htdigest /home/joachim/Dokumente/trac/users.htdigest 'Joachim privat' julian