<?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_SuSE_Linux_9.3</id>
	<title>Help:Running MediaWiki on SuSE Linux 9.3 - 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_SuSE_Linux_9.3"/>
	<link rel="alternate" type="text/html" href="http://www.lensovet.net/~sysadmin/w/index.php?title=Help:Running_MediaWiki_on_SuSE_Linux_9.3&amp;action=history"/>
	<updated>2026-05-06T08:51:15Z</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_SuSE_Linux_9.3&amp;diff=1818&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_SuSE_Linux_9.3&amp;diff=1818&amp;oldid=prev"/>
		<updated>2006-07-19T05:34:40Z</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_SuSE_Linux_9.3&amp;diff=1817&amp;oldid=prev</id>
		<title>194.160.222.91: /* Math Formulars with texvc */</title>
		<link rel="alternate" type="text/html" href="http://www.lensovet.net/~sysadmin/w/index.php?title=Help:Running_MediaWiki_on_SuSE_Linux_9.3&amp;diff=1817&amp;oldid=prev"/>
		<updated>2006-04-26T09:45:34Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Math Formulars with texvc&lt;/span&gt;&lt;/span&gt;&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;
==Installing MediaWiki on SuSE Linux 9.3==&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
This text describes my personal experience installing MediaWiki on a quite fresh installation of SuSE Linux 9.3.&lt;br /&gt;
* ''Please note:'' I am not a professional server admin; the Wiki runs in a closed environment, so security issues are not really dealt with here. Also, I am describing the state as the system is running, without a clue why :-) It might well be, that I am listing useless packages as well.&lt;br /&gt;
&lt;br /&gt;
Most of information was extracted from [http://meta.wikimedia.org/wiki/Help:Installation]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Needed software===&lt;br /&gt;
&lt;br /&gt;
YaST tells me, that for apache2 the following packages are installed:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* apache2&lt;br /&gt;
* apache2-mod_auth_mysql&lt;br /&gt;
* apache2-mod_php4&lt;br /&gt;
* apache2-prefork&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For php, we have&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* php4&lt;br /&gt;
* php4-exif&lt;br /&gt;
* php4-gd	(Note: this is necessary for working with thumbnails!)&lt;br /&gt;
* php4-gettext&lt;br /&gt;
* php4-mysql&lt;br /&gt;
* php4-session&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For mysql, we have&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* mysql&lt;br /&gt;
* mysql-administrator&lt;br /&gt;
* mysql-client&lt;br /&gt;
* mysql-shared&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Procedure ===&lt;br /&gt;
The first step was to check, whether the web server was running. This can be done by either using a browser on the server and typing &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;http://localhost&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt; or from another computer and use the server's name or IP. If the apache default pages are installed, they should appear.&lt;br /&gt;
&lt;br /&gt;
Hint: SuSE makes administration of services quite easy, if you know about the start- and stop-scripts. For apache, the script is “rcapache2”, which understands (among others) the arguments “start”, “stop” and “restart”. I had to restart the apache server several times during installation.&lt;br /&gt;
&lt;br /&gt;
In order to make the wiki accessible every time the server is on, you should also set the webserver to be started on boot via YaST.&lt;br /&gt;
&lt;br /&gt;
This done, I extracted the downloaded MediaWiki into the default web server path resulting in  folder name of /srv/www/htdocs/mediawiki.... and changed the name of the new directory to “wiki”.&lt;br /&gt;
&lt;br /&gt;
After cd'ing into the wiki directory, I did a &amp;lt;pre&amp;gt;chmod a+w config&amp;lt;/pre&amp;gt; in order to be able to configure the wiki.&lt;br /&gt;
&lt;br /&gt;
Then I set up the mysql database. The packages listed above were installed, MySQL was started using the SuSE rcmysql script, which functions like the rcapache2 script.&lt;br /&gt;
If the database should also be started on boot of the server, be sure to set this up with the YaST runlevel editor (runlevels 3 and 5 should suffice).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then a database was created like detailed on [http://meta.wikimedia.org/wiki/MySQL_config]&lt;br /&gt;
( In a previous installation, I did not set up the database at all but let the wiki installer do the job; but due to a hdd crash on that computer, I had to import an old database dump  - this is a long and different story and I cannot describe what eventually led to success. )&lt;br /&gt;
&lt;br /&gt;
After all this, the setup tool was called by simply browsing to the wiki directory and following the steps the software told me.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Edits in the configuration files===&lt;br /&gt;
I adapted the /etc/php.ini with following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* memory_limit = 20M&lt;br /&gt;
* post_max_size = 20M&lt;br /&gt;
* upload_max_filesize = 20M&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Uploads were already enabled; this was different to my previous SuSE9.0 installation, where it took  me quite a while to find out how to eventually enable uploads.&lt;br /&gt;
&lt;br /&gt;
in /srv/www/htdocs/wiki/LocalSettings.php, I changed:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* $wgDisableUploads = false;&lt;br /&gt;
* $wgUseImageResize = true;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and I replaced the default logo with my own.&lt;br /&gt;
&lt;br /&gt;
As for my in-house installation I do not need the “donations” and “current events” links in the menu bar, I also copied the respective array definitions from &amp;lt;wikidir&amp;gt;/includes/DefaultSettings.php and pasted them at the end of my LocalSettings.php, with the not wanted lines commented out by double slashes ( // ). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now the wiki does, what I wanted it to do.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
===Math Formulars with texvc===&lt;br /&gt;
* texvc-binary was compiled on a RedHat machine, but it works on Suse Linux as well. Download [http://prdownloads.sourceforge.net/wikipedia/texvc-linux-x86-20050202.tar.gz?download texvc-binary] from SourceForge.&lt;br /&gt;
* copy texvc as a binary into the math/-directory (e.g. /srv/www/htdocs/wiki/math).&lt;br /&gt;
* check, if &amp;lt;tt&amp;gt;latex&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;dvips&amp;lt;/tt&amp;gt; is available and executable for the Webserver (e.g. apache with user &amp;lt;i&amp;gt;wwwrun&amp;lt;/i&amp;gt;).  Open shell as root, set user to wwwrun with &amp;lt;tt&amp;gt;su - wwwrun&amp;lt;/tt&amp;gt; and call &amp;lt;i&amp;gt;latex&amp;lt;/i&amp;gt; and &amp;lt;i&amp;gt;dvips&amp;lt;/i&amp;gt;. If the program was not found, install &amp;lt;i&amp;gt;tetex&amp;lt;/i&amp;gt; with &amp;lt;i&amp;gt;yast&amp;lt;/i&amp;gt;.&lt;br /&gt;
* check, if &amp;lt;tt&amp;gt;convert&amp;lt;/tt&amp;gt; from ImageMagick package is available and executable for the Webserver. Call &amp;lt;i&amp;gt;convert&amp;lt;/i&amp;gt; from shell as user &amp;lt;i&amp;gt;wwwrun&amp;lt;/i&amp;gt;. If the program was not found, install &amp;lt;i&amp;gt;ImageMagick&amp;lt;/i&amp;gt; with &amp;lt;i&amp;gt;yast&amp;lt;/i&amp;gt;.&lt;br /&gt;
* check, if &amp;lt;tt&amp;gt;gs&amp;lt;/tt&amp;gt; (GhostScript) package is available and executable for the Webserver. Call &amp;lt;i&amp;gt;gs&amp;lt;/i&amp;gt; from shell as user &amp;lt;i&amp;gt;wwwrun&amp;lt;/i&amp;gt;. If the program was not found, install &amp;lt;i&amp;gt;gs GhostScript&amp;lt;/i&amp;gt;.&lt;br /&gt;
* If packages were already installed, you have to set permissions to execute the mentioned binary properly. The webserver user (e.g. wwwrun) should have the rights to execute &amp;lt;tt&amp;gt;convert, gs, latex, dvips&amp;lt;/tt&amp;gt; for example if &amp;lt;i&amp;gt;wwwrun&amp;lt;/i&amp;gt; is member of a group that has the permission to execute &amp;lt;tt&amp;gt;convert&amp;lt;/tt&amp;gt;. &lt;br /&gt;
* edit the file &amp;lt;i&amp;gt;LocalSetings.php&amp;lt;/i&amp;gt; in wiki-directory (e.g. /srv/www/htdocs/wiki/LocalSettings.php) and search for &amp;lt;tt&amp;gt;$wgUseTex&amp;lt;/tt&amp;gt; and  set &amp;lt;tt&amp;gt;$wgUseTex=true&amp;lt;/tt&amp;gt;.&lt;br /&gt;
* Create a tmp/-Directory as a subdir of wiki-directory (e.g. /srv/www/htdocs/wiki/tmp). The tmp-directory should be writable for the Webserver user (e.g. wwwrun). &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===What to do if things don't work===&lt;br /&gt;
* closing the wiki window of your browser, emptying the browser cache and then opening up again a wiki window might resolve some strange effects&lt;br /&gt;
* after completing the steps above, I restarted the apache webserver and the mysql database by using the SuSE rcapache2 and rcmysql scripts.&lt;br /&gt;
&lt;br /&gt;
(tbc)&lt;br /&gt;
&lt;br /&gt;
I am not yet finished with wiki configuration; I am currently working on the formulas.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I wish everyone good luck with installing MediaWiki on SuSE Linux!&lt;br /&gt;
&lt;br /&gt;
For criticism and/or questions feel free to contact me:&lt;br /&gt;
wolfram &amp;lt;at&amp;gt; strempfer &amp;lt;dot&amp;gt; de&lt;/div&gt;</summary>
		<author><name>194.160.222.91</name></author>
		
	</entry>
</feed>