Changes between Version 13 and Version 14 of faq/get-dedicated-wiki
- Timestamp:
- Jul 14, 2011, 10:48:04 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
faq/get-dedicated-wiki
v13 v14 11 11 To setup a new wiki: 12 12 13 * In this example, I will refer to GROUP. This variable should be changed based on the request coming in. GROUPshould 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.613 * 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 15 15 * Login to peltier.mayfirst.org as root and run the following commands: 16 16 {{{ 17 17 cd /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) 19 cp example.wiki.mayfirst.org.php <prefix>.wiki.mayfirst.org.php 21 20 # 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 21 # create new tables for the installation. 23 22 # 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/ GROUP23 ./create-new-tables <prefix>_ 24 # create an image directory (should match settings in <prefix>.wiki.mayfirst.org) 25 mkdir /var/www/wiki.mayfirst.org/mediawiki/images/<prefix> 27 26 chown 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 30 28 }}} 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. 32 30 * Grant the requester sysop privileges. The requester will need special privileges in the wiki. 33 31 * Ask the requester to create an account by using the OpenID login.