Phraseanet needs some pre-requisites , including 2 components we provide

    Installation

    Download installation archive .

    Look for a “bin/src” folder from uncompressed folder root.

    Phrasea PHP extension and Phrasea Indexer Sources can be found within the folder.

    You must compile each of these modules using the following instruction, to be executed within the module to compile root folder.

    ./configure
    make
    make install

    NB : dependencies are required for module compilation, such as libraries like “libxml2″ and “libxpat”. Php and Mysql header are mandatory.

    Configuration

    Once Phraseanet is uncompressed in folder, it must be published using a virtual host.

    Apache file configuration can be set as follow:

    <VirtualHost *:80>
        ServerName sub.domain.tld
        ServerAdmin email@example.com 
    
        DocumentRoot "/var/www/phraseanet_src/www"
    
        <Directory "/var/www/phraseanet_src/www">
            DirectoryIndex index.php
            Options Indexes FollowSymLinks
            AllowOverride All
        </Directory>
    
       #publish thumbnail content
        Alias /web /var/www/phraseanet_src/datas/web
    
        ErrorLog logs/phraseanet_error_log
        CustomLog logs/phrseanet_access_log combined
        LogLevel warn
    </VirtualHost>

    Prior to run installation and setup, we recommand, you make sure that all necessary components are correctly installed, using the following command line.

    /usr/bin/php5 <your_root_folder>/bin/config-test.exe.php

    If the test is correct, you can access Phraseanet using the address defined by your virtual host and then setup databases and create the administrator account.

    Installation process goes through three steps :

    • base setup ApplicationBox and administrator account creation (previous step)
    • Admin module connection and first Database creation DataBox
    • Indexation and subviews tasks creation

    Database creation

    Connect to your Phraseanet system and if not redirected to Admin, click on the”Admin” link on top of the window.

    Go to the “Databases” section from menu on left and click on create new database. Then you will need to create a first collection.

    Once those two steps down, disconnect and reconnect to refresh your sessions.

    Main tasks creation

    From the Admin module, got to the Task Manager, than create the following tasks:

    • meta-datas reading
    • write meta-datas
    • Subviews creation

    These presets are enough to start with.

    Creation of the Indexing task is a bit more technical:

    During task creation process, several settings need to be done

    • path to the previously compiled binary indexer
    • connection settings to the database (ApplicationBox)
    • a control socket (your own choice port, must not be used by server)

    If all tasks are correctly configured, click on the scheduler.

    Congratulations!! setup is finished !

    You can start uploading documents using Upload Module, setup database documentary structure to your needs.