Manual:Running MediaWiki on Slackware Linux

<-MediaWiki User's Guide: Running MediaWiki

'Warning: no promises of security are made in this guide. It was intended to be run on an offline workstation.'

System

 * Slackware Linux 9.1 (full install, but it should have at least Apache, MySQL, PHP):
 * Apache (apache-1.3.28-i486-2):
 * MySQL (mysql-4.0.15a-i486-1):
 * MediaWiki (mediawiki-1.1.0.tar.gz):
 * Cur dump of the database (20031231_cur_table.sql.bz2):

Configuration of MediaWiki

 * 1) Unpack the package into a direcetory (let's call this the source directory):
 * 2) In the source directory, copy   to , and   to.
 * 3) Edit the settings in LocalSettings.php and AdminSettings.php to reflect your installation directory (this must be different from the source directory, e.g. in  ), your usernames and passwords, and other settings.

Configuration of Apache

 * 1) Edit   by uncommenting the line
 * 2) Edit   by adding   to the line
 * 3) Edit   by changing the line   to
 * 4) You can start Apache, if you have not done so, by typing (as root):

Configuration of MySQL

 * 1) You can install MySQL, if you have not done so, by typing:
 * 2) Set a password if you have not done so (as root):
 * 3) You can start the MySQL daemon by typing (as root):
 * 4) Start a mysql session by typing (as root):   and then typing in the password you set
 * 5) Create a wiki database (the name should be the same as that set in LocalSettings.php) in MySQL by typing:

Installing
(Hopefully this works. In my case, I needed a skeleton structure of the database as the install script did not do it. Contact one of the developers for a copy and import it using )
 * 1) Run   from the source directory

By this point you should have a working install. If you go to  in your browser you should see the Main page.

Loading the dump

 * 1) Unzip the dump by typing:   (this will take a while depending on the size of the dump and the speed of your workstation).
 * 2) Import the dump in your database by starting a mysql session as above, if you have not done so, loading the wiki database (the name as you gave above), by typing:   and then importing the data by typing:  . This will also take a long time.

At this point you should have a working install with some data in it. Other things will also need to be set up (classic TODO here).