Changes between Version 13 and Version 14 of faq/get-dedicated-wiki


Ignore:
Timestamp:
Jul 14, 2011, 6:48:04 PM (9 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • faq/get-dedicated-wiki

    v13 v14  
    1111To setup a new wiki:
    1212
    13  * In this example, I will refer to GROUP. This variable should be changed based on the request coming in. GROUP should be replaced wth a short name refering to the member requesting the wiki (e.g. mfpl or brecht).
    14  * Create a DNS A record for the member under the MFPL hosting order with the domain GROUP.wiki.mayfirst.org that points to the IP address: 209.51.163.6
     13 * In this example, I will refer to <prefix>. This variable should be changed based on the request coming in. <prefix> should be replaced wth a short name refering to the member requesting the wiki (e.g. mfpl or brecht).
     14 * Create a DNS A record for the member under the MFPL hosting order with the domain <prefix>.wiki.mayfirst.org that points to the IP address: 209.51.163.6
    1515 * Login to peltier.mayfirst.org as root and run the following commands:
    1616{{{
    1717cd /etc/mediawiki/members-configs
    18 # create and edit NAME.wiki.mayfirst.org to meet needs of new wiki
    19 # first create your new file (changing GROUP below to your wiki name and don't forget the php at the end)
    20 cp example.wiki.mayfirst.org GROUP.wiki.mayfirst.org.php
     18# first create your new file (changing <prefix> below to your wiki name and don't forget the php at the end)
     19cp example.wiki.mayfirst.org.php <prefix>.wiki.mayfirst.org.php
    2120# now go into your new file and edit it to make sure the defaults do what you need and change the two instances of the word PREFIX with your own wiki's new name (just the name...not the full url)
    2221# create new tables for the installation.
    2322# for the tables, e.g. mfpl_ or ussf2010_
    24 ./create-new-tables GROUP_
    25 # create an image directory (should match settings in GROUP.wiki.mayfirst.org)
    26 mkdir /var/www/wiki.mayfirst.org/mediawiki/images/GROUP
     23./create-new-tables <prefix>_
     24# create an image directory (should match settings in <prefix>.wiki.mayfirst.org)
     25mkdir /var/www/wiki.mayfirst.org/mediawiki/images/<prefix>
    2726chown mediawiki:nogroup /var/www/wiki.mayfirst.org/mediawiki/images/PREFIX
    28 # edit the file that includes the proper settings file based on the domain - adding a new stanza at the end
    29 emacs select-settings-file.php
     27# edit select-settings.php file, which includes the proper settings file based on the domain - adding a new stanza at the end
    3028}}}
    31  * At this point, you should be able to go to http://GROUP.wiki.mayfirst.org and see a working wiki site.
     29 * At this point, you should be able to go to http://<prefix>.wiki.mayfirst.org and see a working wiki site.
    3230 * Grant the requester sysop privileges. The requester will need special privileges in the wiki.
    3331  * Ask the requester to create an account by using the OpenID login.