Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Download

...

source

{
Code Block
}
cd /var/www/core
svn co http://code.google.com/p/terena-core/trunk 
{code}

h1. Apache2
Designate a vhost to CORE and make sure it runs SSL.
Point the DocumentRoot to 

Apache2

Designate a vhost to CORE and make sure it runs SSL.
Point the DocumentRoot to /var/www/core/trunk/public

PostgreSQL

sudo to postgres and create a new database user:

Code Block
bash
bash




h1. PostgreSQL

sudo to postgres and create a new database user:

{code}
createuser -D -I -R -S -P core_user
{code}

Create

...

an

...

empty

...

database

...

owned

...

by

...

that

...

user:

Code Block
bash
bash


{code}
createdb -O core_user -T template0 core_test_db
{code}


{info}
Developer 
Info

Developer info:

use

this

command

to

create

an

empty

database

with

all

definitions

and

transfer

it

directly

to

the

dev

host

where

the

installer

is:

*

Code Block
bash
bash
pg_dump -x --disable-dollar-quoting --attribute-inserts -O -s core | ssh cajones.org "cat - > /home/www/test.core.install/public/installer/sql/data.sql"

Change permissions

Change permission so that the following directories and files are writable by the webserver user:

Code Block
shell
shell
*
{info}


h1. Change permissions

Change permission so that the following directories and files are writable by the webserver user:

{newcode=bash}
cd var/www/core/trunk
sudo chown -v www-data:www-data cache data/logs data/mails languages uploads public/includes
sudo chown -v www-data:www-data public/.htaccess public/index.php application/configs/application.ini
{newcode}


Must be populated with data:
* filetypes 
* roles
* timeslot_types

h2. Default conference & vhosts
THere should be at least one conference defined, with correct vhost, also in apache.

h2. File permissions
Make sure that appropriate directories are writable:




h2. default files

Must be populated with data:

  • filetypes
  • roles
  • timeslot_types

Default conference & vhosts

THere should be at least one conference defined, with correct vhost, also in apache.

File permissions

Make sure that appropriate directories are writable:

default files

public/.htaccess-dist

...

->

...

public/.htaccess

...


application/configs/application.ini-dist

...

->

...

application/configs/application.ini

...

files changes

.htaccess

...

SETENV

...

production

...

?

...


Default

...

development,

...

met

...

message

...

dat

...

het

...

daarna

...

UITgezet

...

moet

...

worden.

...

In

...

application.ini-dist

...

the

...

following

...

need

...

to

...

be

...

set:

...

core.debugMailTo

...

=

...

"<email

...

to

...

send

...

error

...

reports

...

to>"

...


core.observer.review

...

=

...

1

...

(to

...

toggle

...

observer:

...

review)

...

Vacuum

...

jobs

...

using

...

CRON

...

  • mails
  • orphan files

Initial admin

Run the invitation code from the installer, asking for an email address which will become admin.