Installation guide: Installation procedure

Running the installer

Anwiki comes with an installer assistant for initializing database and configuration files.

Go to http://www.yourwebsite.com/your-anwiki-directory/ and follow the instructions.
Anwiki checks that file permissions are correct and displays a summary of your setup.
  • If an error is detected, fix it and refresh the page.
  • If your setup is correct, click on the button to begin anwiki installation

Installation steps

It will take a few minutes for configuring and installing Anwiki, step by step:
  • Global configuration
    This step lets you configure Anwiki global settings.
    • Root URL: it should be automatically detected. If not, enter your setup URL such as http://www.yourwebsite.com/your-anwiki-directory/
    • Cookies domain: it's very important to set it correctly, or you won't be able to login on Anwiki.
      If your anwiki setup can be accessed from a domain or a subdomain, set it to something like .yourwebsite.com (don't forget the "." on the beginning)
      If it's a local setup, let it empty.

  • Storage driver configuration
    This step lets you configure the storage driver.
    Default one is storagedriver_mysql, which requires a valid MySQL connexion to store Anwiki contents.

  • Users driver configuration
    This step lets you configure the users driver settings.
    Default one is usersdriver_mysql, which requires a valid MySQL connexion to store Anwiki users.

  • Sessions driver configuration
    This step lets you configure the sessions driver settings.
    Default one is sessionsdriver_mysql, which requires a valid MySQL connexion to store Anwiki sessions.

  • ACLs driver configuration
    This step lets you configure the ACLs driver settings.
    Default one is aclsdriver_configrules, which doesn't require any configuration as it stores ACLs in a configuration file.

  • Drivers initialization
    The next 4 steps automatically initialize Anwiki drivers, according to the saved configuration settings.

  • Admin user creation
    This step lets you create an account with administrator permissions.
    Edit account info and create a new admin account.

Deleting installation files

When installation is finished, delete ./default/actions/action_install/ directory for security reasons.

Forcing a new installation

Anwiki prevents installer assistant to be executed again, when setup is complete.
Here is how to proceed if you want to run again the installer assistant for reinstalling Anwiki:
  1. Very important: first of all, protect your setup with .htaccess file, or everybody will be able to run the installation procedure and see your configured passwords.
  2. Make sure you still have the ./default/actions/action_install/ directory, or upload it again if missing.
  3. Delete the file ./_writable/status/install.status.php
  4. Delete the file ./_writable/status/install.lock.php
  5. Run the installer assistant as explained above
Last edited on 03/29/2009 14:40:26
Powered by Anwiki • 0.03 sec • 2.04 MB