User Tools

Site Tools


hwmig2007phpwiki

Table of Contents

TuxSoftware

phpwiki

Database

  • either Berkeley db4.2 or SQLite
    • likely Berkeley db4.2 as it's a .db4 file
  • /var/lib/phpwiki/phpwiki_pagedb.db4

Dump/load commands

  • on old tux: sudo db4.2_dump /var/lib/phpwiki/phpwiki_pagedb.db4 > dumpfile
  • copy dumpfile from old tux to new tux
  • on new tux: sudo rm /var/lib/phpwiki/phpwiki_pagedb.db4
  • on new tux: sudo db4.2_load /var/lib/phpwiki/phpwiki_pagedb.db4 < dumpfile
  • Check: sudo db4.2_dump /var/lib/phpwiki/phpwiki_pagedb.db4 | less
    • should look the same as on old tux
  • Check: look at wiki page in browser: !http://localhost:8080/phpwiki
    • fails for me - there must be another step to activating phpwiki
    • error is “Not Found The requested URL /wiki was not found on this server.” or “Not Found The requested URL /phpwiki was not found on this server.”
    • phpwiki seems to work when the url is: !http://newtux/phpwiki - but the buttons connect with the wiki on old tux (!)

I guess we can declare that phpwiki works then

hwmig2007phpwiki.txt · Last modified: 2015/06/09 15:23 by 127.0.0.1