Setup a Project Wiki: Difference between revisions
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
# cd /srv/www/htwiki | # cd /srv/www/htwiki | ||
# tar -xzvf mediawiki-unconfiguredInstallation.tar.gz | # tar -xzvf mediawiki-unconfiguredInstallation.tar.gz | ||
# mv mediawiki | # mv mediawiki $projectname | ||
The go to the mediawiki setup website for your project: | The go to the mediawiki setup website for your project: | ||
'''<nowiki>http://wiki.iat.sfu.ca/ | '''<nowiki>http://wiki.iat.sfu.ca/$projectname</nowiki>''' | ||
Fill in the options appropriately with some special Configuration options to note:<br /> | Fill in the options appropriately with some special Configuration options to note:<br /> | ||
Make a seperate database for each project: | Make a seperate database for each project: | ||
* '''Database name''': wiki_ | * '''Database name''': wiki_$projectname | ||
Seperate username for each project: | Seperate username for each project: | ||
* '''DB username''': wiki_ | * '''DB username''': wiki_$projectname | ||
Unique password: | Unique password: | ||
* apg -m 9 -MNC | * apg -m 9 -MNC | ||
Line 23: | Line 23: | ||
If it worked, this will create the LocalSettings.php file which you then move to the correct place: | If it worked, this will create the LocalSettings.php file which you then move to the correct place: | ||
# cd | # cd $projectname | ||
# mv config/LocalSettings.php . | # mv config/LocalSettings.php . | ||
Line 29: | Line 29: | ||
# chmod a-w config | # chmod a-w config | ||
Your wiki should be completely setup at: <nowiki>http://wiki.iat.sfu.ca/ | Your wiki should be completely setup at: <nowiki>http://wiki.iat.sfu.ca/$projectname</nowiki> | ||
I then usually go login to the wiki and add to the main page: '''Wiki is configured correctly.''' for 100% assurance that everything is working :) | I then usually go login to the wiki and add to the main page: '''Wiki is configured correctly.''' for 100% assurance that everything is working :) | ||
Line 38: | Line 38: | ||
Create an account for yourself. Logout. Login as the WikiSysop user. | Create an account for yourself. Logout. Login as the WikiSysop user. | ||
Navigate to '''Special Pages''' ->''' Make a user into a sysop''', or modify this link with your project name: <nowiki>http://wiki.iat.sfu.ca/ | Navigate to '''Special Pages''' ->''' Make a user into a sysop''', or modify this link with your project name: <nowiki>http://wiki.iat.sfu.ca/$projectname/index.php/Special:Makesysop</nowiki> | ||
Make yourself a sysop and Set bureaucrat flag too. | Make yourself a sysop and Set bureaucrat flag too. |
Revision as of 23:08, 2 May 2006
Kingfisher is our wiki server. Check out the wiki index to see existing wikis.
Add a Seperate Instance of MediaWiki
# ssh root@kingfisher # cd /srv/www/htwiki # tar -xzvf mediawiki-unconfiguredInstallation.tar.gz # mv mediawiki $projectname
The go to the mediawiki setup website for your project: http://wiki.iat.sfu.ca/$projectname
Fill in the options appropriately with some special Configuration options to note:
Make a seperate database for each project:
- Database name: wiki_$projectname
Seperate username for each project:
- DB username: wiki_$projectname
Unique password:
- apg -m 9 -MNC
And no table prefix.
Note: When you click Install! it may fail. For me it has always failed if the username was too long (it must be at 16 characters or less)
If it worked, this will create the LocalSettings.php file which you then move to the correct place:
# cd $projectname # mv config/LocalSettings.php .
Config should no longer be world writable:
# chmod a-w config
Your wiki should be completely setup at: http://wiki.iat.sfu.ca/$projectname
I then usually go login to the wiki and add to the main page: Wiki is configured correctly. for 100% assurance that everything is working :)
Add Sysop/Administrator User
Follow these steps to make your account a sysop, or to make someone else who manages the wiki, a sysop.
Create an account for yourself. Logout. Login as the WikiSysop user.
Navigate to Special Pages -> Make a user into a sysop, or modify this link with your project name: http://wiki.iat.sfu.ca/$projectname/index.php/Special:Makesysop
Make yourself a sysop and Set bureaucrat flag too.