...
Info | |||||||
---|---|---|---|---|---|---|---|
| |||||||
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:
|
Download source
Use subversion to download the source code:
...
cd /var/www/core
svn co https://terena-core.googlecode.com/svn/trunk
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
:
...
cd var/www/core/trunk
sudo touch application/configs/application.ini public/.htaccess
sudo chown www-data:www-data cache
sudo chown www-data:www-data uploads
sudo chown www-data:www-data logs
sudo chown www-data:www-data data/mails
sudo chown www-data:www-data public/.htaccess
sudo chown www-data:www-data application/configs/application.ini
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:
...
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:
Code Block | ||||
---|---|---|---|---|
| ||||
cd /var/www/core
svn co https://terena-core.googlecode.com/svn/trunk
|
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
:
Code Block | ||||
---|---|---|---|---|
| ||||
cd var/www/core/trunk
sudo touch application/configs/application.ini public/.htaccess
sudo chown www-data:www-data cache
sudo chown www-data:www-data uploads
sudo chown www-data:www-data logs
sudo chown www-data:www-data data/mails
sudo chown www-data:www-data public/.htaccess
sudo chown www-data:www-data application/configs/application.ini
|
CRON jobs
TODO: Create some scripts that periodically clean up mails and orphan files.