Skip to end of metadata
Go to start of metadata

Linux

CORE was developed on Ubuntu Lucid 10.04 LTS, but other Linux versions should also work.

Debian and Ubuntu users

Icon

Instead of installing each of the software items below separately, it is sufficient to install only a small set of packages as this will pull in most of the required dependencies. To install everything except Zend:

Apache2

  • Designate a vhost to CORE and make sure it runs SSL
  • Enable mod_rewrite
  • Enable mod_deflate (optional)
  • Point the DocumentRoot to the 'public' subdirectory of the source, so in this case /var/www/core/trunk/public.
    The vhost can contain one conference or multiple conferences, in which case you can use the ServerAlias statement. For example:

In the case of multiple conferences, it is convenient to use an SSL certificate with Subject Alternative Names - for instance those obtained by participating in the TERENA Certificate Service (wink)

At the moment, each conference in CORE needs its own vhost and it is not possible to run conferences under a sub directory (for instance https://www.nren.edu/conferences/myconf).

PHP5

PHP needs to be configured according to this table:

PHP Version

5.3 or greater

Directives

 

upload_max_filesize

FIXME This should probably be done only in php.ini, and not in application config files.

short_open_tag

On

safe_mode

Off

register_globals

Off

Extensions

 

pdo_pgsql

PDO PostgreSQL functions

apc

Alternative PHP Cache

fileinfo

File Information

gd

GD Graphics

PostgreSQL

CORE uses multi-inserts which were introduced in version 8.2, so you will need at least 8.2.

sudo to postgres and create a new database user, and write down the password:

Create an empty database owned by that user:

Zend Framework

You need version 1.11.0 or higher. Zend Framework 2 is not supported. This will need to be downloaded separately. Packaged versions in Debian or Ubuntu might be too old, but the installer will tell you so. You can download a tar ball of the latest Zend Framework from http://framework.zend.com/download/latest. The "Minimal" version is sufficient.

The installer will ask for a location where it can be found. 
Because the actual code is packaged together with some docs and other stuff, you need to specify the directory that contains the 'Zend' directory. So in this case you would specifiy /opt/ZendFramework-1.11.10-minimal/library.

You could also use subversion. In that case, you can just download the code and skip the supporting docs, etc.:

In this case, you would specifiy /opt/library

SimpleSAMLphp

Version 1.8 should work, but older version might work too. See the instructions on the SimpleSAMLphp site to find out how to install and configure SimpleSAMLphp as a Service Provider.
TODO: hints and tips about configuring guest providers as this is vital for practical use.

Download source

Use subversion to download the source code:

Create some empty files and change permissions so that the following directories and files are writable by the web server user. For Debian/Ubuntu this is www-data:www-data:

At this point you can visit the web page and follow the wizzard to configure things.

CRON jobs

TODO: Create some scripts that periodically clean up mails and orphan files.

  • No labels