MediaWiki

Differences between revisions 1 and 4 (spanning 3 versions)
Revision 1 as of 2005-05-28 20:35:49
Size: 242
Editor: adsl-213-190-44-43
Comment: imported from the old wiki
Revision 4 as of 2007-06-19 21:09:21
Size: 1904
Editor: mib65012
Comment: Needed some information detailing instalation
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= MediaWiki = MediaWiki is the engine that is used for Wikipedia. See [http://www.mediawiki.org/ MediaWiki] for more information
Line 3: Line 3:
MediaWiki is another implementation of Wiki software. == Install ==
Line 5: Line 5:
http://sourceforge.net/projects/wikipedia/ To install on your [u|k|edu]buntu server (with Apache and MySQL - ["ApacheMySQLPHP"] or another web server already installed):
{{{
 sudo apt-get install mediawiki imagemagick mediawiki-math
}}}
Line 7: Line 10:
MediaWiki is used to run the following Wikis: Then restart apache:
{{{
 /etc/init.d/apache restart
}}}
Line 9: Line 15:
http://en.wikipedia.org/wiki/Main_Page
http://wiki.linuxquestions.org/
The next step is to visit the website. Since you will be entering passwords, you don't want to make an unsecured connection. Either set up a ssl server] ( see ["forum/server/apache2/SSL"]) and connect with https://your.site.net/mediawiki, or visit from the server itself (using ["lynx"] or ["links"], two excellent text-based web browsers)
{{{
 lynx localhost/mediawiki
}}}
fill out the forms, noting that the final form is NOT your root or user password, but the password for the root mysql account (blank by default)

Lastly, move the config files as requested to prevent anyone else from changing these settings:
{{{
 sudo mv /var/lib/mediawiki/config/LocalSettings.php /etc/mediawiki/LocalSettings.php
 sudo chmod 600 /etc/mediawiki/LocalSettings.php
 sudo rm -Rf /var/lib/mediawiki/config
}}}
You are done! you should see a wiki page at: http://your.site.net/mediawiki

== Customize ==

The apache config files reside at /etc/apache2/conf.d/mediawiki.conf

You might want to customize the look of your wiki.

To change the icon make a 135x135 pixal logo in the png format and move it to the right place:
{{{
 sudo cp my_new_logo.png /var/lib/mediawiki/skins/common/images/wiki.png
}}}

To get rid of the mac-like sunburst in the background, edit /var/lib/mediawiki/skins/monobook/main.css and change:
 background: #f9f9f9 url(headbg.jpg) 0 0 no-repeat;
to
 background: #f9f9f9;


see http://prevolution.org/mediawikifarm for running multiple wikis on a server

MediaWiki is the engine that is used for Wikipedia. See [http://www.mediawiki.org/ MediaWiki] for more information

Install

To install on your [u|k|edu]buntu server (with Apache and MySQL - ["ApacheMySQLPHP"] or another web server already installed):

 sudo apt-get install mediawiki imagemagick mediawiki-math 

Then restart apache:

 /etc/init.d/apache restart

The next step is to visit the website. Since you will be entering passwords, you don't want to make an unsecured connection. Either set up a ssl server] ( see ["forum/server/apache2/SSL"]) and connect with https://your.site.net/mediawiki, or visit from the server itself (using ["lynx"] or ["links"], two excellent text-based web browsers)

 lynx localhost/mediawiki

fill out the forms, noting that the final form is NOT your root or user password, but the password for the root mysql account (blank by default)

Lastly, move the config files as requested to prevent anyone else from changing these settings:

 sudo mv /var/lib/mediawiki/config/LocalSettings.php /etc/mediawiki/LocalSettings.php
 sudo chmod 600 /etc/mediawiki/LocalSettings.php
 sudo rm -Rf /var/lib/mediawiki/config

You are done! you should see a wiki page at: http://your.site.net/mediawiki

Customize

The apache config files reside at /etc/apache2/conf.d/mediawiki.conf

You might want to customize the look of your wiki.

To change the icon make a 135x135 pixal logo in the png format and move it to the right place:

 sudo cp my_new_logo.png /var/lib/mediawiki/skins/common/images/wiki.png

To get rid of the mac-like sunburst in the background, edit /var/lib/mediawiki/skins/monobook/main.css and change:

  • background: #f9f9f9 url(headbg.jpg) 0 0 no-repeat;

to

  • background: #f9f9f9;

see http://prevolution.org/mediawikifarm for running multiple wikis on a server

MediaWiki (last edited 2008-08-06 17:00:18 by localhost)