Changes between Version 15 and Version 16 of faq/get-dedicated-wiki

Sep 26, 2013, 4:32:30 PM (8 years ago)
Jamie McClelland



  • faq/get-dedicated-wiki

    v15 v16  
    44May First/People Link runs a shared mediawiki installation, using the same wiki software used by [].
    6 If you would like your own wiki with a URL like then please [/newticket open a ticket] with the name you would like to use.
     6If you would like your own wiki just go to the [ members control panel], click on the Web Apps link, click "New item" and choose "mediawiki" as the type.
    8 == Admin directions ==
    10 These directions are for MFPL admins.
    12 To setup a new wiki:
    14  * 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).
    15  * Create a DNS A record for the member under the MFPL hosting order with the domain <prefix> that points to the IP address:
    16  * Login to as root and run the following commands:
    17 {{{
    18 cd /etc/mediawiki/members-configs
    19 # first create your new file (changing <prefix> below to your wiki name and don't forget the php at the end)
    20 cp <prefix>
    21 # 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)
    22 # create new tables for the installation.
    23 # for the tables, e.g. mfpl_ or ussf2010_
    24 ./create-new-tables <prefix>_
    25 # create an image directory (should match settings in <prefix>
    26 mkdir /var/www/<prefix>
    27 chown mediawiki:nogroup /var/www/
    28 # edit select-settings.php file, which includes the proper settings file based on the domain - adding a new stanza at the end
    29 }}}
    30  * At this point, you should be able to go to http://<prefix> and see a working wiki site.
    31  * Grant the requester sysop privileges. The requester will need special privileges in the wiki.
    32   * Ask the requester to create an account by using the OpenID login.
    33   * Once they have created the account, Login to peltier as root and:
    34 {{{
    35 su mediawiki
    36 mysql
    37 # replace <prefix> with whatever table prefix you used above
    38 SELECT user_id,user_name FROM <prefix>_user;
    39 # replace ID with whatever ID the user you want to give sysop privs has
    40 INSERT INTO <prefix>_user_groups SET ug_user = ID, ug_group = 'sysop';
    41 INSERT INTO <prefix>_user_groups SET ug_user = ID, ug_group = 'bureaucrat';
    42 }}}
     8The control panel will create your database and configure the mediawiki for you.