Manual talk:Running MediaWiki on Ubuntu

For a presentation I went through an install/config several times and touched up this page to match what I learned:
 * All references to VMware removed - unnecessary
 * Chatty reference to UK download site removed
 * Added note about how to find correct current version (and updated to reflect 1.9.3 is current)
 * Reorganized headings to make more sense

I think the whole area at the end regarding making an offline copy of MediaWiki help is unnecessary and confusing. I put it into an entirely separate heading, but I'm leaning towards deleting it.

It may be helpful to use nano, rather than vi. -- 81.187.40.226

Desktop Installation of php
I am trying to set up mediawiki on my ubuntu 7.10. These are the various things which I needed to install on the desktop & configure stuff for it to work. sudo apt-get install php-mysql mysql-client mysql-client php-gd apache2-mpm-prefork libapache2-mod-php5 phpmyadmin php5-xcache phpmyadmin

then had to make symlinks

sudo ln -s /etc/apache2/mods-available/php5.conf /etc/apache2/mods-enabled/ sudo ln -s /etc/apache2/mods-available/php5.load /etc/apache2/mods-enabled/

Then restarted apache

sudo apache2ctl restart

Also edited in /etc/apache2.conf so it doesn't complain :-

ServerName 127.0.0.1 or your Server IP address.

Ok then do ,

192.168.1.2/wiki

the ipaddress was got from eth0 inet_addr

which shows you the wiki page ,One gets to the configure part.

One has to make a MYSQL db & create a user before doing stuff mysql -u -p

Then on the mysql prompt create the db

mysql > create database WIKIDB_NAME ;

Then create a user with privileges

mysql > grant create, select, insert, update, delete, lock tables on wikidb.* to 'wikiuser'@'localhost' identified by 'password';

The password should be different than the root password.

Then flush the privileges

mysql > flush privileges;