Install claroline

From ClaroDevel

WikiLettreMini.png

This page must be deleted.

intro

Why this page  ?

It's more a page for administrator than developpers, but I tell some hack for devs.

Table of contents

before install

mySql

Requirement

  1. Claroline works with only one server and only one account.
  2. Claroline need at least one database (ouf)
  3. Claroline is build with the idea that the account can creat databases.
  4. Claroline is hack to be able to work with an account wich can't create databases.

tables repository

Claroline need 2 types of tables repository.

  1. course table
  2. out-course table

out-course table

this include

  • central tables
  • tracking tables
  • pma extention tables

These table are created in one or many db. but it's a know number of db needed. So if mysql account use by claroline CAN't CREATE database, you can request to admin to create database before with another account befor the install. (Probably the same for all out-course tables)


course table

  • tables for course tools and groups tools

Claroline is build to have one table for each "course-tool" pair.

So table for links in course foo is not the same table for course bar.

As there is a lot of table. It's more user-friendly to have one database for each course.

but but but before install we don't know how many course would be created.

So Claroline need a user with database creation right.

A lot of mysql admin would find it crazy.

haw, give a db creation my users ... NO!

If the admin still on their postition, you can request 1 DB and shake all tables of courses in same db.

But a very good solution is to request a right to create table with a fixed prefix.

mysql

  • Create a user with less right as possible
  • Give all access for this user on db 'foo%'

with this, user can create all db they need but names for all these db must begin with foo

You can set this data in claroline config. $dbPrefix is do for that.


It's also great if you are a dev and need to run man claroline on same machine.

Personnaly I have a user "claroline" with an password. the right for this user is "all" on "claro%" database.

And when I install a claroline, I set as prefix "clarofoo" where foo is my checkout name.

On the Disk ...

claroline need to be in the web space.

So claroline contain an

  • index.php.
  • some html files
  • claroline subdir
  • readme and licence files

So if you want that claroline is not the only "tool" on the website, it's better to create a subdir in your document root.

It's give somethig like

i.e. document root /var/www/html/
cd /var/www/html/
mkdir mycampus
cd mycampus

place here the contain of archive or cvs

file system right

To manage files of claroline, use an account member of group of your webserver process.

i.e.: addgroup paul apache (mandrake) addgroup paul www-data (debian)


steps of installer


Step 1 Check Your System

Step 2 Licence

Step 3 MySQL database settings

Step 4 MySQL Names

Step 5 Admin Setting

Step 6 Platform settings

Step 7 Additional Informations

Step 8 Last check before install

Final Step result