Difference between revisions of "Mediawiki"

From WA2IAC Wiki
Jump to: navigation, search
(Fedora (15 - Lovelock))
 
Line 1: Line 1:
 
== Introduction ==
 
== Introduction ==
Notes regarding install of mediawiki from scratch on various platforms
+
Notes regarding install of mediawiki from scratch on various platforms. In all cases, this was tried on an OpenVZ container (Virtual Server or VPS) instance, and in the case of Fedora, it was also tried on a bare-metal installation (Fedora-15 Lovelock, same as the VPS).
  
 
For those who experience religious fervor over distros, they are listed in alphabetic order.
 
For those who experience religious fervor over distros, they are listed in alphabetic order.
  
== CentOS ==
+
Note: Install of mysql was broken on both Debian and Ubuntu at the time this was written; that needs to be revisited since it was obviously a transient problem.
 +
 
 +
== Installing Mediawiki from Packages ==
 +
=== CentOS ===
 
The CentOS default repos don't have it.
 
The CentOS default repos don't have it.
  
Line 11: Line 14:
 
My solution in the short term is to put it into a Fedora (virtual) slice. Yum ho!
 
My solution in the short term is to put it into a Fedora (virtual) slice. Yum ho!
  
== Debian ==
+
=== Debian ===
 
It's in there.
 
It's in there.
  
Line 61: Line 64:
 
Yoikes! Abort, abort!
 
Yoikes! Abort, abort!
  
== Fedora (15 - Lovelock) ==
+
=== Fedora (15 - Lovelock) ===
 
It's in there:
 
It's in there:
 
<pre>
 
<pre>
Line 101: Line 104:
 
<pre>
 
<pre>
 
yum update
 
yum update
 +
yum upgrade
 
yum install mysql-server
 
yum install mysql-server
 
yum install php
 
yum install php
Line 111: Line 115:
 
I found linking /var/www/html/wiki -> /var/www/wiki worked best, but still having a problem with CSS.
 
I found linking /var/www/html/wiki -> /var/www/wiki worked best, but still having a problem with CSS.
  
 +
The CSS problem was SOLVED by creating a link from /var/www/wiki/skins to the skins directory in /usr/share/mediawiki/skins - somehow it was missing.
 +
<pre>
 +
cd /var/www/wiki
 +
ln -s /usr/share/mediawiki/skins skins
 +
</pre>
  
 
+
=== Ubuntu ===
 
+
 
+
 
+
== Ubuntu ==
+
 
See Debian above for container creation, etc.
 
See Debian above for container creation, etc.
  

Latest revision as of 21:21, 7 May 2013