Manual:Running MediaWiki on Gentoo Linux

nothing too special here.

= Prerequisites = (optional, suggested) emerge sync emerge ufed -uD ufed (check useflags, you'll need mod_php)

(required... remember to -p them first! if you already have them, you probably don't need them again!) emerge mysql -uD emerge apache -uD emerge php -uD (check useflags with ufed)

(probably required) emerge mod_php -uD

(get services going by default) rc-update add apache2 default rc-update add mysql default

(turn on services) /etc/init.d/apache2 start /etc/init.d/mysql start

(possible actions for services include, zap, stop, restart and start)

= Possibility of an ebuild for mediawiki! = http://bugs.gentoo.org/show_bug.cgi?id=37894

Talk:Running_MediaWiki_on_Gentoo_Linux

= Get Mediawiki = (from the source forge page, it took me forever to find!) http://www.sf.net/projects/wikipedia

Unpack
using tar -xvvzf baby! (maybe not the f... I don't know what it does, but this is black magic unix crap!) (don't put it into your webroot, alias the directory, conditional to php being operational)

Set Permissions
user should be apache, group should be apache. You should not give anybody access to this directory.. or at least LocalSettings.conf as it contains passwords! Just let user apache do it.

Alias directory
edit your /etc/apache2/conf ... commonapache2.conf? file apache configuration

setup rewrite rules
I have no idea how to do these, see Rewrite Rules

Restart apache
/etc/init.d/apache2 restart

= run the configuration web page = yes, you have to config that directory manually...

= MediaWikis running on Gentoo =
 * http://escargot.icehouse.net/mediawiki  (the page upgrade from 1.2 to 1.3 was origionally written with a gentoo box)  and this user is silly enough to be willing to provide _limited_ tech support if you bother to User:AaronPeterson (he prefers telephone, because he types too much!)