Differences between revisions 1 and 2
Deletions are marked like this. Additions are marked like this.
Line 17: Line 17:
 * [[http://wiki.softxs.ch/linthal|wiki.softxs.ch/linthal]] - Linthal 2015 Project Wiki  * [[http://wiki.softxs.ch/l2015|wiki.softxs.ch/l2015]] - Linthal 2015 Project Wiki
Line 31: Line 31:
 1.  1. 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
Line 35: Line 37:

Line 37: Line 41:
{{{
  vi createinstance.sh
  {{{
vi createinstance.sh
Line 40: Line 44:
  # Change the following in the script: # Change the following in the script:
Line 42: Line 46:
  Change
  #!/bin/bash
  To
  #!/usr/local/bin/bash
Change
#!/bin/bash
To
#!/usr/local/bin/bash
Line 47: Line 51:
  Change
  SHARE=/usr/share/moin
  To
  SHARE=/usr/local/share/moin
#Change
SHARE=/usr/share/moin
#To
SHARE=/usr/local/share/moin
Line 52: Line 56:
  USER=www
  GROUP=www
USER=www
GROUP=www
Line 55: Line 59:
  Change
  chown -R $USER.$GROUP $INSTANCE
  To
  chown -R ${USER}:${GROUP} $INSTANCE
# Change
chown -R $USER.$GROUP $INSTANCE
# To
chown -R ${USER}:${GROUP} $INSTANCE
:x
  }}}
Line 60: Line 66:
  :x === Deployment of the Wiki Instance for MET ===
Line 62: Line 68:
}}} On lu.softxs.ch as user root
Line 64: Line 70:
=== Installation ===   {{{
cd /home/wiki/www/html
Line 66: Line 73:
'''TODO'''

  }}}

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:

  {{{
cd
 more .htaccess
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>
^D

  }}}

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:

  • cd 
     more .htaccess 
    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>
    ^D
    

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