Revision: 40 http://svn.sv.gnu.org/viewvc/?view=rev&root=administration&revision=40 Author: karl Date: 2013-09-04 23:51:05 +0000 (Wed, 04 Sep 2013) Log Message: ----------- blank lines before code blocks?
Modified Paths: -------------- trunk/sviki/HowToAdminThisWiki.mdwn Modified: trunk/sviki/HowToAdminThisWiki.mdwn =================================================================== --- trunk/sviki/HowToAdminThisWiki.mdwn 2013-09-04 23:47:39 UTC (rev 39) +++ trunk/sviki/HowToAdminThisWiki.mdwn 2013-09-04 23:51:05 UTC (rev 40) @@ -96,59 +96,73 @@ We had previously decided to use ikiwiki, to avoid ever having to go through the agony of a cracked wiki again. So next, on frontend, we just install the basic Debian package; we don't need the very latest. - apt-get install ikiwiki + apt-get install ikiwiki + Following steps on <http://ikiwiki.info/setup/byhand> ... - SRCDIR=/usr/local/share/sviki/liveco - DESTDIR=/var/www/sviki + SRCDIR=/usr/local/share/sviki/liveco + DESTDIR=/var/www/sviki + In `/etc/apache2/sites-available/sv.inc`, comment out zope stuff (since deleted), add: - Alias /maintenance /var/www/sviki + + Alias /maintenance /var/www/sviki + And run: - service apache2 reload + service apache2 reload + As me, create directories, initial `index.mdwn`: - ikiwiki --verbose $SRCDIR $DESTDIR --url=http://savannah.gnu.org/maintenance/ + + ikiwiki --verbose $SRCDIR $DESTDIR --url=http://savannah.gnu.org/maintenance/ + Try visiting <http://savannah.gnu.org/maintenance/>. It works. Amazing. Dump setup for easier editing: - !! --dumpsetup /usr/local/share/sviki/ikiwiki.setup + !! --dumpsetup /usr/local/share/sviki/ikiwiki.setup + Edit setup file for wiki name, etc., then update: - ikiwiki --setup ikiwiki.setup + + ikiwiki --setup ikiwiki.setup + Skip CGI for now (forever?). Create `administration`'s svn repository (can do this anyway): - svn co svn+ssh://k...@svn.savannah.gnu.org/administration - svn mkdir branches tags trunk - svn mkdir trunk/sviki - cd trunk/sviki - svn propset svn:ignore .ikiwiki . - echo hi there > index.mdwn - svn commit + svn co svn+ssh://k...@svn.savannah.gnu.org/administration + svn mkdir branches tags trunk + svn mkdir trunk/sviki + cd trunk/sviki + svn propset svn:ignore .ikiwiki . + echo hi there > index.mdwn + svn commit + (Well, the `svn co` command I actually ran was different from the above standard one, because I have a shell account on vcs and the other machines [[SavannahArchitecture]]. But that is an irrelevant detail here.) Back on frontend, ikiwiki will need to do updates, so: - apt-get install subversion + apt-get install subversion + Switch `/usr/local/share/sviki/liveco/` to an svn checkout. Set `rcs => 'svn'` in ikiwiki.setup; cmdline seemingly has no effect. Update: - ikiwiki --verbose --setup ikiwiki.setup + ikiwiki --verbose --setup ikiwiki.setup + Looks like the changes are written in `liveco/.ikiwiki`; I see <https://savannah.gnu.org/maintenance/recentchanges/> now, made from the svn log. Try a commit from our checked-out repository, then on frontend: - ikiwiki --setup ikiwiki.setup --refresh + ikiwiki --setup ikiwiki.setup --refresh + Looks ok. Create user `sviki`, uid/gid 902, with generated `id_rsa`, and set up post-commit stuff on vcs, as described above. @@ -156,14 +170,17 @@ vcs. (and from all other Savannah hosts while we're at it.) Don't bother trying to start zope anymore: - update-rc.d zope2.10 remove + + update-rc.d zope2.10 remove + That got rid of these symlinks: - rc0.d/K02zope2.10 -> ../init.d/zope2.10 - rc1.d/K02zope2.10 -> ../init.d/zope2.10 - rc2.d/K02zope2.10 -> ../init.d/zope2.10 - rc3.d/K02zope2.10 -> ../init.d/zope2.10 - rc4.d/K02zope2.10 -> ../init.d/zope2.10 - rc5.d/K02zope2.10 -> ../init.d/zope2.10 - rc6.d/K02zope2.10 -> ../init.d/zope2.10 + rc0.d/K02zope2.10 -> ../init.d/zope2.10 + rc1.d/K02zope2.10 -> ../init.d/zope2.10 + rc2.d/K02zope2.10 -> ../init.d/zope2.10 + rc3.d/K02zope2.10 -> ../init.d/zope2.10 + rc4.d/K02zope2.10 -> ../init.d/zope2.10 + rc5.d/K02zope2.10 -> ../init.d/zope2.10 + rc6.d/K02zope2.10 -> ../init.d/zope2.10 + Maybe we are back in business.