Differences between revisions 2 and 3
Deletions are marked like this. Additions are marked like this.
Line 101: Line 101:
cd
 more .htaccess
cat <<__END__
Line 111: Line 110:
^D __END__
Line 113: Line 112:
touch .htpassword
htpasswd .htpassword met

Wiki Deployment

Main Wiki Systems

Project Wikis

Wiki Deployment Notes

The Internet accessible Wikis are:

  1. Instances of the MoinMoin wiki software

    1. MoinMoin is implemented in Python

    2. Version 1.6.1 is installed on lu.softxs.ch
  2. All wikis run in a vitual host wiki.softxs.ch
    1. You need to add a some configuration information to httpd.conf each time you add a new wiki

Deployment of MoinMoin 1.6.1 on lu.softxs.ch

Had to modify the createinstance'sh script:

  • vi createinstance.sh
    
    # Change the following in the script:
    
    Change
    #!/bin/bash
    To
    #!/usr/local/bin/bash
    
    #Change
    SHARE=/usr/share/moin
    #To
    SHARE=/usr/local/share/moin
    
    USER=www
    GROUP=www
    
    # Change
    chown -R $USER.$GROUP $INSTANCE
    # To
    chown -R ${USER}:${GROUP} $INSTANCE
    :x

Deployment of the Wiki Instance for MET

On lu.softxs.ch as user root

  • cd /home/wiki/www/html
    
    
    

Update the Apache config

  • vi /usr/local/etc/apache2/httpd.conf
    
    # In the vitrual host section for wiki.softxs.ch add the following:
    
      ScriptAlias /met     /home/wiki/www/html/met/cgi-bin/moin.cgi
    
    # Add a new directory for the wiki:
    
    <Directory /home/wiki/www/html/met/cgi-bin>
      Options None
      AllowOverride AuthConfig Limit
      Order allow,deny
      Allow from all
    </Directory>

Restart apache

Configuration htaccess based access password protection:

  • cat <<__END__
    AuthUserFile /home/wiki/www/html/met/.htpassword
    AuthGroupFile /dev/null
    AuthName "SoftXS GmbH - Matrics Experts Team Project Wiki"
    AuthType Basic
    
    <Limit GET POST>
      require valid-user
    </Limit>
    __END__
    
    touch .htpassword
    htpasswd .htpassword met

Backup

TODO


Notes and Ideas

  1. There is a FreBSD port: p5-HTML-WikiConverter-MoinMoin, which claims to be able to convert HTML into MoinMoin markup.

WikiDeployment (last edited 2011-08-04 14:58:53 by 77-58-103-157)

Copyright 2008-2014, SoftXS GmbH, Switzerland