<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.lensovet.net/~sysadmin/w/index.php?action=history&amp;feed=atom&amp;title=Help%3ARunning_MediaWiki_on_Mandrake</id>
	<title>Help:Running MediaWiki on Mandrake - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://www.lensovet.net/~sysadmin/w/index.php?action=history&amp;feed=atom&amp;title=Help%3ARunning_MediaWiki_on_Mandrake"/>
	<link rel="alternate" type="text/html" href="http://www.lensovet.net/~sysadmin/w/index.php?title=Help:Running_MediaWiki_on_Mandrake&amp;action=history"/>
	<updated>2026-05-03T22:27:23Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.16</generator>
	<entry>
		<id>http://www.lensovet.net/~sysadmin/w/index.php?title=Help:Running_MediaWiki_on_Mandrake&amp;diff=1806&amp;oldid=prev</id>
		<title>Wadmin: 1 revision(s)</title>
		<link rel="alternate" type="text/html" href="http://www.lensovet.net/~sysadmin/w/index.php?title=Help:Running_MediaWiki_on_Mandrake&amp;diff=1806&amp;oldid=prev"/>
		<updated>2006-07-19T05:34:39Z</updated>

		<summary type="html">&lt;p&gt;1 revision(s)&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 05:34, 19 July 2006&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Wadmin</name></author>
		
	</entry>
	<entry>
		<id>http://www.lensovet.net/~sysadmin/w/index.php?title=Help:Running_MediaWiki_on_Mandrake&amp;diff=1805&amp;oldid=prev</id>
		<title>196.25.211.20: Add info about Mandriva contrib packages</title>
		<link rel="alternate" type="text/html" href="http://www.lensovet.net/~sysadmin/w/index.php?title=Help:Running_MediaWiki_on_Mandrake&amp;diff=1805&amp;oldid=prev"/>
		<updated>2006-06-29T17:07:09Z</updated>

		<summary type="html">&lt;p&gt;Add info about Mandriva contrib packages&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{H:h|system admin toc}}&lt;br /&gt;
&lt;br /&gt;
[[Running MediaWiki on Linux]]&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Quick Installation on Mandrake 10 Official'''&lt;br /&gt;
(note : It works as well for Mandriva 2006.)&lt;br /&gt;
&lt;br /&gt;
=Using packages from Mandriva contrib (2006.0 or later)=&lt;br /&gt;
&lt;br /&gt;
MediaWiki was added to the contrib section of Mandriva in [http://cvs.mandriva.com/cgi-bin/cvsweb.cgi/contrib-SPECS/mediawiki/mediawiki.spec April 2005], or somewhere before the release of 2006.0.&lt;br /&gt;
&lt;br /&gt;
Installing mediawiki should be a matter of adding a [http://urpmi-addmedia.org contrib medium] and running:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt; urpmi mediawiki&lt;br /&gt;
&lt;br /&gt;
This will pull in all the requirements for running the frontend. If you will be running the database server on the same host, install MySQL as well:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt; urpmi MySQL&lt;br /&gt;
&lt;br /&gt;
You should be able to access the configuration page at [http://localhost/mediawiki http://localhost/mediawiki] or similar.&lt;br /&gt;
&lt;br /&gt;
Note that packages in contrib don't get security updates via the official updates medium, you are advised to add a community contrib medium, and be aware that security updates for contrib may be a bit slower than official packages, and you may want to notify the maintainer if a security update is required.&lt;br /&gt;
&lt;br /&gt;
=Manual Installation=&lt;br /&gt;
&lt;br /&gt;
This is a short description and protocol of my installation.&lt;br /&gt;
&lt;br /&gt;
==Installed Packages==&lt;br /&gt;
* apache2-2.0.48-6.2.100&lt;br /&gt;
* apache2-mod_php-2.0.48_4.3.4-1&lt;br /&gt;
* php-mysql-4.3.4-1&lt;br /&gt;
* php-iconv-4.3.4-1&lt;br /&gt;
* php-apc-4.3.4_2.0&lt;br /&gt;
* php-xml-4.3.4-1&lt;br /&gt;
* MySQL 4.0.18-1.1.100&lt;br /&gt;
* ImageMagick 5.5.7.15-6plf&lt;br /&gt;
* zlib should be already installed&lt;br /&gt;
&lt;br /&gt;
Download mediawiki-1.x.x.tar.gz and extract to ''/var/www/html''&lt;br /&gt;
and rename the base directory :&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;mv mediawiki-1.x.x wiki&lt;br /&gt;
&lt;br /&gt;
A Mandriva package « mediawiki » exists; install it with # urpmi mediawiki ; then just do # cd /var/www/html/ and # mv mediawiki wiki&lt;br /&gt;
&lt;br /&gt;
==MySQL==&lt;br /&gt;
If you haven't yet configured the mysql database, you should at least set the passwords.&lt;br /&gt;
&lt;br /&gt;
===New installation===&lt;br /&gt;
Setting password for default accounts. &lt;br /&gt;
&lt;br /&gt;
 &amp;gt;mysql -u root&lt;br /&gt;
&lt;br /&gt;
 SET PASSWORD FOR &amp;lt;nowiki&amp;gt;''&amp;lt;/nowiki&amp;gt;@'localhost' = PASSWORD('xxx');&lt;br /&gt;
 SET PASSWORD FOR &amp;lt;nowiki&amp;gt;''&amp;lt;/nowiki&amp;gt;@'hostname' = PASSWORD('xxx');&lt;br /&gt;
 SET PASSWORD FOR 'root'@'localhost' = PASSWORD('xxx');&lt;br /&gt;
 SET PASSWORD FOR 'root'@'hostname' = PASSWORD('xxx');&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Replace ''hostname'' with your REAL name and ''xxx'' with your password.&lt;br /&gt;
&lt;br /&gt;
For information on accounts, type:&lt;br /&gt;
 SELECT host, user from mysql.user;&lt;br /&gt;
&lt;br /&gt;
===Create Database===&lt;br /&gt;
&lt;br /&gt;
 CREATE DATABASE wikidb;&lt;br /&gt;
 USE mysql;&lt;br /&gt;
 GRANT ALL PRIVILEGES ON wikidb.* to 'wikiuser'@'localhost' IDENTIFIED BY 'your_password' WITH GRANT OPTION;&lt;br /&gt;
Replace ''your_password'' with your own password. Maybe less privileges can be granted, but I didn't find any documentation concerning this.&lt;br /&gt;
&lt;br /&gt;
For a list of databases&lt;br /&gt;
 SHOW DATABASES;&lt;br /&gt;
&lt;br /&gt;
LocalSettings.php will be created in this directory and therefore write rights are necessary.&lt;br /&gt;
 chmod ugo+w /var/www/html/wiki/config&lt;br /&gt;
&lt;br /&gt;
Browse to http://localhost/wiki/config/index.php&lt;br /&gt;
and fill in all necessary information. Copy the result.&lt;br /&gt;
 cp /var/www/html/wiki/config/LocalSettings.php /var/www/html/wiki&lt;br /&gt;
Remove all right from config directory.&lt;br /&gt;
 chmod 000 /var/www/html/wiki/config&lt;br /&gt;
&lt;br /&gt;
Browse to your wiki http://localhost/wiki/index.php.&lt;br /&gt;
Create your own user. Afterwards grant admin rights to your user with&lt;br /&gt;
Replace &amp;quot;own_user&amp;quot; with your username created on the wiki site:&lt;br /&gt;
&lt;br /&gt;
 UPDATE user set user_rights='sysop' where user_name='own_user'&lt;br /&gt;
&lt;br /&gt;
==Enable Upload==&lt;br /&gt;
Add write right to the images directory:&lt;br /&gt;
 chmod ugo+w /var/www/html/wiki/images&lt;br /&gt;
&lt;br /&gt;
In /var/www/html/wiki/LocalSettings.php uncomment&lt;br /&gt;
 $wgDisableUploads= false;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
I updated recently to version 1.3.1. No problems. &lt;br /&gt;
&lt;br /&gt;
Steps:&lt;br /&gt;
*make backup of database and files&lt;br /&gt;
*remove all files, except the images directory&lt;br /&gt;
*extract the new version&lt;br /&gt;
*go to web-installer (use the same encoding, otherwise your umlaute are lost)&lt;br /&gt;
*copy LocalSettings.php and change settings like above.&lt;br /&gt;
READY!&lt;br /&gt;
[[User:Mikegr|Mikegr]] 22:25, 20 Aug 2004 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Update and fix for &amp;quot;No XML&amp;quot; message ==&lt;br /&gt;
I'm using Mandrake 10 community and all the versions listed above match what I have. I followed these instructions but hit a stumbling block when loading the initial config page (http://localhost/wiki/config/index.php) the page loaded but said I had no XML installed. I fired up urpmi and got php-xml but got the same message, even after restarting Apache and going as far as rebooting. I tracked things down and finally had to:&lt;br /&gt;
# rm the /etc/php dir (which was empty), and&lt;br /&gt;
# make a symlink to the /etc/php.d dir (which had the extension modules in it)&lt;br /&gt;
I then restarted Apache and everything worked fine from there.&lt;/div&gt;</summary>
		<author><name>196.25.211.20</name></author>
		
	</entry>
</feed>