User:Dogi/SUNwiki

From OLPC
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

We start on a clean Ubuntu Hardy Heron 8.04.1 installation with openssl-server

Wiki installation

aptitude install libapache-mod-php5 mysql-server php5-mysql php5-gd xcache subversion
cd /var/www
svn checkout http://svn.wikimedia.org/svnroot/mediawiki/branches/REL1_13/phase3 wiki
cd wiki
rm -r  extensions
svn checkout http://svn.wikimedia.org/svnroot/mediawiki/branches/REL1_13/extensions
chgrp www-data images config
chmod g+w      images config

Edit /etc/php5/conf.d/xcache.ini And set xcache.var_size to some sensible value. 16M should do.

Then go to http://sun.mogidi.net/wiki and follow the installation instructions. Finally:

mv config/LocalSettings.php .
chmod g-w config
chmod 440 LocalSettings.php

Links

Important Mediawiki installation notes:

 http://www.mediawiki.org/wiki/Download_from_SVN
 http://www.mediawiki.org/wiki/Manual:Upgrading_to_1.13