Installing XWiki

A Wiki Clone

What is a Wiki?

The specific purpose of a wiki is up to the administrator or organization creating it. In general, though:

Intended Audience

Anyone wanting to set up a wiki will find this document useful.

This document takes the reader through the setup steps of installing a wiki clone called XWiki. Extensive technical experience is not required, but the reader should have basic computer knowledge and be able to move files from one directory to another, use a web browser, move through installation prompts.

Setting Up XWiki

In addition to setting up the XWiki itself, other components must be installed to support XWiki. This presentation includes instructions for obtaining, installing and testing all of these components:

Install Java SDK 1.4.2

Installation:

Test Java SDK 1.4.2

Test Java SDK Installation:

Install Tomcat 4.1

Test Tomcat 4.1

Install MySQL

Setting Up The XWiki Database

XWiki requires a dedicated database. To create the database, perform the following two steps, using the MySQL command line utility.

Create XWiki Database

The next two steps entail issuing sql commands to MySQL. SQL stands for Structured Query Language. SQL is the basic language used for communicating with databases.

Creating XWiki User

Now that there is an XWiki database, it requires a default user to receive commands and write data to its tables. That user will be the XWiki user. As with the last step, this user is created using an SQL command.

Obtaining XWiki Database Tables

Installing Sample Data

In earlier steps, you created the xwiki database and user, but the database has no structure or tables.

The file you downloaded with in the last step is on your desktop in a zipped file named xwiki-db-0.9.2. Inside of that zipped folder is a single file named xwiki-db-0.9.2.sql. This file is an SQL script. The script contains multiple SQL commands to create all of the tables for the XWiki database.

You can run a single command that will tell MySQL to read this file and perform all of the SQL commands it contains.

Installing the Sample Data - Cont.

Check the Database

Check to see if the database has been updated.

Obtaining XWiki War File

Final Steps