no message
[mir.git] / doc / INSTALL.mir
1 Here is a short installation-howto of Mir.
2
3
4 prerequisites: 
5
6 - tomcat 
7 - apache with mod_jk.so 
8 - postgres 7.1.x
9 - ant (a java-based make) 
10
11
12 1. checkout the cvs: 
13 cvs -d :pserver: cvsanon@brazil.indymedia.de:/var/cvs login 
14 password: cvs 
15 cvs -d :pserver: cvsanon@brazil.indymedia.de:/var/cvs lco mir 
16
17 2. customize the config: 
18 cd mir/source 
19 cp config.properties-dist to config.properties 
20 edit config.properties 
21
22 3. configure the build.sh file with java_home 
23
24 4. Link in the webapps directory of tomcat to the install directory (the directory is called Mir). 
25
26 5. copy the mir/template-dist-directory to mir/template 
27
28 6. run sh buil.sh 
29
30 7. create a new database (the dbname should be the same as in config.properties) 
31 as user postgres: createdb dbname 
32
33 8. run psql dump of create_pg.sql: 
34 psql -Upostgres dbname < create_pg.sql 
35
36 8. run psql dump of help*.sql files. 
37
38 9. chmod 777 Mir/log 
39
40 10. restart tomcat 
41
42 11. configure mod_jk 
43
44 12. now the admin-application is accesable by:  http://host/Mir and the openposting-servlet by  http://host/OpenMir>