aboutsummaryrefslogtreecommitdiffstats
path: root/docs/setup.rst
blob: 208c779be224a4f04e61ebfab8d116425da0b2d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Setup for Developing MUSIC
==========================

.. toctree::
   :maxdepth: 1

   Single-Site Install <single>
   Muili-Site Install <multi>
   Authentication

MUSIC is to be installed in a single Dir on a vm. 


The main MUSIC dir should be::

    /opt/app/music
    # These also need to be set up
    /opt/app/music/etc
    /opt/app/music/logs
    /opt/app/music/lib/zookeeper

When installing Tomcat, Cassandra and Zookeeper they should also be installed here.::

    /opt/app/music/apache-cassandra-n.n.n
    /opt/app/music/zookeeper-n.n.n
    /opt/app/music/apache-tomcat-n.n.n


You could also create links from install dirs to a common name ie\:::

    ln -s /opt/app/music/apache-cassandra-n.n.n cassandra
    ln -s /opt/app/music/zookeeper-n.n.n zookeeper
    ln -s /opt/app/music/apache-tomcat-n.n.n tomcat

Cassandra and Zookeeper have data dirs.::
    
    # For cassandra it should be (This is the default) 
    /opt/app/music/cassandra/data    
    # For Zookeeper it should be 
    /opt/app/music/zookeeper/


Continue by selecting the link to the setup you are doing.

.. toctree::
   :maxdepth: 1

   Single-Site Install <single>
   Muili-Site Install <multi>
   Authentication