Installation Guide

From The Lyceum Wiki

Jump to: navigation, search

A user-written step-by-step guide can be found here as a blog post & here as a wiki page

Requirements:
MySQL 4.0.x or greater (including 5.x.x)
PHP 4.3.x or greater (including 5.x.x)
URL rewriting functionality (mod_rewrite for apache or an equivalent for IIS) - There is also the IIS Rewrite Mod Project

You will need to install the files that are in the 'src' directory. The recommended configuration is to leave the directory structure as it is and set the document root of your webserver or virtual host to src/lyceum. If your web host does not allow you to customize the document root, or for some other reason you want all the files to live in the same level, you may move /src/lib, /src/config, and /src/installation to within src/lyceum, and then change PRIVATE_REL_PATH in src/lyceum/private.php accordingly (for more information, see the comments in private.php).

1] Files and directories that must be writable by the webserver

    src/lyceum/
    src/lyceum/wp-comments-post.php
    src/lyceum/wp-content/blogs/

2] Adjust settings

Rename src/config/wp-config-sample.php to src/config/wp-config.php
Edit the following settings in wp-config.php:

    DB_NAME
    DB_USER
    DB_PASSWORD
    DB_HOST
    WEBROOT
    MAINDOMAIN

Please note: if you wish to have a shorter / more succinct URL for your installation by creating an alias for it as described in the Frequently Asked Questions, you must do so before running the installer.

If you are a developer, set LYCEUMDEBUG to true, enter a name for your test installation and an email address for the admin, and uncomment those lines.

    define('LYCEUMDEBUG', true);
    ...
    define('SITETITLE', 'Local Lyceum Development Installation');
    define('ADMINEMAIL', 'put your email address here');

If you are using a Windows server, either set USELOGS to false, or set LOGDIR to something writable by the webserver:

    define('USELOGS', true); //If you are having problems installing on windows, make this 'false'
    define('LOGDIR', '/tmp/'); // *nix OS example
    define('LOGDIR', 'C:\\Program Files\\Apache\\logs\\lyceum\\'); //Windows example

3] (optional) If you want to use subdomains, follow the instructions in the Subdomains Configuration, then come back here and continue below.

4] Browse to yourdomain.com/wp-admin/install.php

Follow the instructions to initialize your installation and create an admin account.

5] Browse to yourdomain.com to view the Lyceum portal.

6] For enhanced security you may wish to delete src/lyceum/wp-admin/install.php.

Personal tools