Template:Menu LexWiki
An off-line version of this is available VKC:here.
:LexWiki_Installation_Guide
LexWiki is built on MediaWiki 1.11.1, and therefore has the same basic set of requirements: PHP 5, MySQL 5, and a Web server. We have tested only with Apache 2.2. You should understand how to work with the Web server that you are using. You need permissions to run the Web server and write to its document root directories. On Linux or Mac OSX, you will usually need one of the following:
The installation script is written in Ant, so you will need Java and Ant installed and configured correctly. Refer to the Ant docs for more information.
You also need to have a running MySQL sever and appropriate database privileges. If you have root access to your MySQL database server, the installation script will set up the necessary database and user account. Otherwise, you'll need to create a database for the wiki and create/configure an account that has all privileges on that database. That account must also have the SELECT privilege on mysql.func table.
The URL where MediaWiki is available will be displayed on the command prompt. Navigate to that URL in your browser and you should see the following page.
You can log in to your LexWiki as an administrator using the username and password displayed on the command prompt. Congratulations! The LexWiki installation is complete and ready to be used!
The installer is capable of installing specified extensions. Open the file module-metadata.txt from the directory in which you unzipped lexwiki-installer.zip. By default all the modules (and their versions) are mentioned here. To add or remove a module, simply edit the relevant line in the file. Make sure to follow the syntax exactly as shown in module-metadata.txt. The syntax in the file is sensitive to the following:
The following is a list of common issues and their solutions.
If you see the following console output:
BUILD FAILED |
You'll need to delete your existing MediaWiki instance before installing.
If you see this output:
check-apache: |
BUILD FAILED |
Check that the Web server is up and that you have specified the correct value for the port property in lexwiki.properties.
If you see the following error message on the console:
Check that your database is running.
If you see a BUILD FAILED message and the console displays the following:
Then specify the IP address of your database server for the value of the datasource.host property in lexwiki.properties.
If you are seeing lots of warning messages on the console during installation and then on the main page after successful installation, this is because you have set the PHP logging level too high. Refer to the PHP documentation to reduce the logging level.